Skip to content

Commit

Permalink
make calico installation more stable (kubernetes-sigs#9227)
Browse files Browse the repository at this point in the history
Signed-off-by: hang.jiang <hang.jiang@daocloud.io>

Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
  • Loading branch information
蒋航 authored and LuckySB committed Jul 7, 2023
1 parent 9c6aa73 commit 20d2030
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/network_plugin/calico/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,9 @@
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/calico-ipamconfig.yml"
state: "latest"
register: resource_result
until: resource_result is succeeded
retries: 4
when:
- inventory_hostname == groups['kube_control_plane'][0]
- calico_datastore == "kdd"
Expand Down

0 comments on commit 20d2030

Please sign in to comment.