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