mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 00:08:46 -03:30
Fix Calico Installation (#10068)
Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
This commit is contained in:
@@ -157,6 +157,9 @@
|
|||||||
kubectl: "{{ bin_dir }}/kubectl"
|
kubectl: "{{ bin_dir }}/kubectl"
|
||||||
filename: "{{ kube_config_dir }}/kdd-crds.yml"
|
filename: "{{ kube_config_dir }}/kdd-crds.yml"
|
||||||
state: "latest"
|
state: "latest"
|
||||||
|
register: kubectl_result
|
||||||
|
until: kubectl_result is succeeded
|
||||||
|
retries: 5
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['kube_control_plane'][0]
|
- inventory_hostname == groups['kube_control_plane'][0]
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user