make calico installation more stable (#9227)

Signed-off-by: hang.jiang <hang.jiang@daocloud.io>

Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
pull/9247/head
蒋航 2022-08-31 12:13:01 +08:00 committed by GitHub
parent acb6f243fd
commit 7ebb8c3f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -458,6 +458,9 @@
kubectl: "{{ bin_dir }}/kubectl" kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/calico-ipamconfig.yml" filename: "{{ kube_config_dir }}/calico-ipamconfig.yml"
state: "latest" state: "latest"
register: resource_result
until: resource_result is succeeded
retries: 4
when: when:
- inventory_hostname == groups['kube_control_plane'][0] - inventory_hostname == groups['kube_control_plane'][0]
- calico_datastore == "kdd" - calico_datastore == "kdd"