mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 17:48:01 +00:00
Update default backend image
This commit is contained in:
parent
f3e0750754
commit
f892a653cc
@ -25,7 +25,7 @@ spec:
|
|||||||
# Any image is permissible as long as:
|
# Any image is permissible as long as:
|
||||||
# 1. It serves a 404 page at /
|
# 1. It serves a 404 page at /
|
||||||
# 2. It serves 200 on a /healthz endpoint
|
# 2. It serves 200 on a /healthz endpoint
|
||||||
image: k8s.gcr.io/defaultbackend:1.4
|
image: k8s.gcr.io/defaultbackend-amd64:1.5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -891,13 +891,13 @@ def launch_default_ingress_controller():
|
|||||||
context['defaultbackend_image'] == "auto"):
|
context['defaultbackend_image'] == "auto"):
|
||||||
if context['arch'] == 's390x':
|
if context['arch'] == 's390x':
|
||||||
context['defaultbackend_image'] = \
|
context['defaultbackend_image'] = \
|
||||||
"k8s.gcr.io/defaultbackend-s390x:1.4"
|
"k8s.gcr.io/defaultbackend-s390x:1.5"
|
||||||
elif context['arch'] == 'arm64':
|
elif context['arch'] == 'arm64':
|
||||||
context['defaultbackend_image'] = \
|
context['defaultbackend_image'] = \
|
||||||
"k8s.gcr.io/defaultbackend-arm64:1.4"
|
"k8s.gcr.io/defaultbackend-arm64:1.5"
|
||||||
else:
|
else:
|
||||||
context['defaultbackend_image'] = \
|
context['defaultbackend_image'] = \
|
||||||
"k8s.gcr.io/defaultbackend:1.4"
|
"k8s.gcr.io/defaultbackend-amd64:1.5"
|
||||||
|
|
||||||
# Render the default http backend (404) replicationcontroller manifest
|
# Render the default http backend (404) replicationcontroller manifest
|
||||||
manifest = addon_path.format('default-http-backend.yaml')
|
manifest = addon_path.format('default-http-backend.yaml')
|
||||||
|
Loading…
Reference in New Issue
Block a user