This PS is to fix the bug when Workers can't join the cluster (#4276)
because of etc-kubernetes-manifests not empty.
This commit is contained in:
parent
d4a36aa55b
commit
107bfb259a
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@
|
||||||
command: >-
|
command: >-
|
||||||
{{ bin_dir }}/kubeadm join
|
{{ bin_dir }}/kubeadm join
|
||||||
--config {{ kube_config_dir}}/kubeadm-client.conf
|
--config {{ kube_config_dir}}/kubeadm-client.conf
|
||||||
|
--ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests
|
||||||
register: kubeadm_join
|
register: kubeadm_join
|
||||||
async: 60
|
async: 60
|
||||||
poll: 15
|
poll: 15
|
||||||
|
|
Loading…
Reference in a new issue