fix: pre-pull Rancher images and reset Rancher release during bootstrap
Rancher installs were stalling on transient Docker Hub TLS handshake timeouts for rancher shell, webhook, and system-upgrade-controller images. Pre-pull the required images onto all nodes after k3s comes up, extend the Rancher HelmRelease timeout, and reset/force the Rancher HelmRelease before waiting on addon-rancher so bootstrap can recover from stale failed remediation state.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Pre-pull Rancher images into containerd
|
||||
command: /usr/local/bin/ctr -n k8s.io images pull {{ item }}
|
||||
register: rancher_image_pull
|
||||
retries: 5
|
||||
delay: 15
|
||||
until: rancher_image_pull.rc == 0
|
||||
loop: "{{ rancher_images_to_prepull }}"
|
||||
changed_when: true
|
||||
Reference in New Issue
Block a user