fix start CoreDNS when init secondary master (#4867)

pull/4882/head
刘旭 2019-06-11 19:56:18 +08:00 committed by Kubernetes Prow Robot
parent 9b2d176617
commit a3a7fe7c8e
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
when: inventory_hostname != groups['kube-master']|first
- name: kubeadm | Init other uninitialized masters
command: timeout -k 600s 600s {{ bin_dir }}/kubeadm init --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all
command: timeout -k 600s 600s {{ bin_dir }}/kubeadm init --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all --skip-phases=addon/coredns
register: kubeadm_init
retries: 10
until: kubeadm_init is succeeded or "field is immutable" in kubeadm_init.stderr