Browse Source
Fix Calico Installation (#10068)
Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
pull/10087/head
蒋 航
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
roles/network_plugin/calico/tasks/install.yml
|
|
@ -157,6 +157,9 @@ |
|
|
|
kubectl: "{{ bin_dir }}/kubectl" |
|
|
|
filename: "{{ kube_config_dir }}/kdd-crds.yml" |
|
|
|
state: "latest" |
|
|
|
register: kubectl_result |
|
|
|
until: kubectl_result is succeeded |
|
|
|
retries: 5 |
|
|
|
when: |
|
|
|
- inventory_hostname == groups['kube_control_plane'][0] |
|
|
|
when: |
|
|
|