fix: make Rancher image pre-pull best effort and disable managed SUC
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.
This commit is contained in:
@@ -7,3 +7,4 @@
|
|||||||
until: rancher_image_pull.rc == 0
|
until: rancher_image_pull.rc == 0
|
||||||
loop: "{{ rancher_images_to_prepull }}"
|
loop: "{{ rancher_images_to_prepull }}"
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
failed_when: false
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ spec:
|
|||||||
extraEnv:
|
extraEnv:
|
||||||
- name: CATTLE_PROMETHEUS_METRICS
|
- name: CATTLE_PROMETHEUS_METRICS
|
||||||
value: "true"
|
value: "true"
|
||||||
|
- name: CATTLE_FEATURES
|
||||||
|
value: "managed-system-upgrade-controller=false"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
|
|||||||
Reference in New Issue
Block a user