forked from tim/k3s-ansible
fix(ci): retry transient DNS failures on remote downloads and cilium install (#690)
- Add shared download_retries/download_delay defaults in k3s_server and k3s_server_post roles - Retry calico CRD and Tigera operator manifest downloads - Retry Cilium CLI download and cilium install/upgrade command - Retry kube-vip cloud provider and MetalLB manifest downloads - The CI runner's resolver intermittently times out on GitHub-hosted domains
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
register: calico_crd_download
|
||||
retries: "{{ download_retries }}"
|
||||
delay: "{{ download_delay }}"
|
||||
until: calico_crd_download is succeeded
|
||||
|
||||
- name: "Download to first master: manifest for Tigera Operator and Calico CRDs"
|
||||
ansible.builtin.get_url:
|
||||
@@ -26,6 +30,10 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
register: tigera_operator_download
|
||||
retries: "{{ download_retries }}"
|
||||
delay: "{{ download_delay }}"
|
||||
until: tigera_operator_download is succeeded
|
||||
|
||||
- name: Apply Calico CRD bundle with server-side apply
|
||||
ansible.builtin.command: >-
|
||||
|
||||
Reference in New Issue
Block a user