Browse Source

fix start CoreDNS when init secondary master (#4867)

pull/4882/head
刘旭 5 years ago
committed by Kubernetes Prow Robot
parent
commit
a3a7fe7c8e
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/master/tasks/kubeadm-secondary-legacy.yml

2
roles/kubernetes/master/tasks/kubeadm-secondary-legacy.yml

@ -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

Loading…
Cancel
Save