Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
scydeai committed Nov 20, 2019
1 parent 8857589 commit 4c5fa50
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
1 change: 1 addition & 0 deletions api/resource/kubeasz/roles/nameserver/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dns_repository_hostname: "registry.kubeops.io"
dns_registry_hostname: "registry.{{APP_DOMAIN}}"
2 changes: 1 addition & 1 deletion api/resource/kubeasz/roles/nameserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
lineinfile:
path: "/etc/hosts"
regexp: "{{ groups['worker'][0] }}"
line: "{{ hostvars[groups['worker'][0]]['ansible_ssh_host'] }} {{groups['worker'][0]}}"
line: "{{ hostvars[groups['worker'][0]]['ansible_ssh_host'] }} {{dns_registry_hostname}}"

- name: 插入 registry 记录
lineinfile:
Expand Down
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ services:
restart: always
privileged: true
tty: true
dns:
- "127.0.0.1"
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
Expand Down Expand Up @@ -92,15 +90,6 @@ services:
retries: 10
environment:
TZ: Asia/Shanghai
dns:
image: coredns/coredns:1.6.0
container_name: kubeops_dns
volumes:
- /opt/kubeoperator/data/dns:/root
ports:
- 53:53/tcp
- 53:53/udp
command: ['--conf','/root/dns.conf']
webkubectl:
image: webkubectl/webkubectl:v1.4
container_name: kubeops_webkubectl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,6 @@ <h5>{{node.name}} &nbsp;&nbsp;<i class="fa fa-close" *ngIf="node.delete"
</div>
</div>
</clr-wizard-page>


<clr-wizard-page [clrWizardPageNextDisabled]="" *ngIf="cluster.deploy_type === Manual">
<ng-template clrPageTitle>集群参数</ng-template>


</clr-wizard-page>


<clr-wizard-page>
<form clrForm class="clr-form clr-form-compact">
<ng-template clrPageTitle>其他设置</ng-template>
Expand Down

0 comments on commit 4c5fa50

Please sign in to comment.