mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
add retry for start calico kube controller (#9450)
Signed-off-by: cleverhu <shouping.hu@daocloud.io> Signed-off-by: cleverhu <shouping.hu@daocloud.io>
This commit is contained in:
@@ -33,6 +33,9 @@
|
|||||||
state: "latest"
|
state: "latest"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ calico_kube_manifests.results }}"
|
- "{{ calico_kube_manifests.results }}"
|
||||||
|
register: calico_kube_controller_start
|
||||||
|
until: calico_kube_controller_start is succeeded
|
||||||
|
retries: 4
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['kube_control_plane'][0]
|
- inventory_hostname == groups['kube_control_plane'][0]
|
||||||
- not item is skipped
|
- not item is skipped
|
||||||
|
|||||||
Reference in New Issue
Block a user