55d7b8201e
Docker Hub TLS handshakes are too flaky to make pre-pulling a hard bootstrap requirement. Treat image pre-pull as opportunistic and disable Rancher's managed system-upgrade-controller feature so that image is removed from the critical install path while Rancher and its webhook converge.
11 lines
291 B
YAML
11 lines
291 B
YAML
---
|
|
- 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
|
|
failed_when: false
|