From 65177a2f172a898243c203f0b93c7074711f227e Mon Sep 17 00:00:00 2001 From: Chris Henzie Date: Tue, 7 Jan 2025 11:45:09 -0800 Subject: [PATCH] Update ubuntu-slim with Docker Schema 2 image --- vertical-pod-autoscaler/e2e/v1/common.go | 4 ++-- vertical-pod-autoscaler/e2e/v1beta2/common.go | 4 ++-- vertical-pod-autoscaler/examples/hamster-deprecated.yaml | 2 +- vertical-pod-autoscaler/examples/hamster.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vertical-pod-autoscaler/e2e/v1/common.go b/vertical-pod-autoscaler/e2e/v1/common.go index 6ce493c9a8b8..d1c479df9007 100644 --- a/vertical-pod-autoscaler/e2e/v1/common.go +++ b/vertical-pod-autoscaler/e2e/v1/common.go @@ -144,7 +144,7 @@ func NewNHamstersDeployment(f *framework.Framework, n int) *appsv1.Deployment { defaultHamsterReplicas, /*replicas*/ hamsterLabels, /*podLabels*/ GetHamsterContainerNameByIndex(0), /*imageName*/ - "registry.k8s.io/ubuntu-slim:0.1", /*image*/ + "registry.k8s.io/ubuntu-slim:0.14", /*image*/ appsv1.RollingUpdateDeploymentStrategyType, /*strategyType*/ ) d.ObjectMeta.Namespace = f.Namespace.Name @@ -278,7 +278,7 @@ func SetupHamsterContainer(cpu, memory string) apiv1.Container { return apiv1.Container{ Name: "hamster", - Image: "registry.k8s.io/ubuntu-slim:0.1", + Image: "registry.k8s.io/ubuntu-slim:0.14", Resources: apiv1.ResourceRequirements{ Requests: apiv1.ResourceList{ apiv1.ResourceCPU: cpuQuantity, diff --git a/vertical-pod-autoscaler/e2e/v1beta2/common.go b/vertical-pod-autoscaler/e2e/v1beta2/common.go index aa358299c9e2..094c660fb271 100644 --- a/vertical-pod-autoscaler/e2e/v1beta2/common.go +++ b/vertical-pod-autoscaler/e2e/v1beta2/common.go @@ -144,7 +144,7 @@ func NewNHamstersDeployment(f *framework.Framework, n int) *appsv1.Deployment { defaultHamsterReplicas, /*replicas*/ hamsterLabels, /*podLabels*/ GetHamsterContainerNameByIndex(0), /*imageName*/ - "registry.k8s.io/ubuntu-slim:0.1", /*image*/ + "registry.k8s.io/ubuntu-slim:0.14", /*image*/ appsv1.RollingUpdateDeploymentStrategyType, /*strategyType*/ ) d.ObjectMeta.Namespace = f.Namespace.Name @@ -279,7 +279,7 @@ func SetupHamsterContainer(cpu, memory string) apiv1.Container { return apiv1.Container{ Name: "hamster", - Image: "registry.k8s.io/ubuntu-slim:0.1", + Image: "registry.k8s.io/ubuntu-slim:0.14", Resources: apiv1.ResourceRequirements{ Requests: apiv1.ResourceList{ apiv1.ResourceCPU: cpuQuantity, diff --git a/vertical-pod-autoscaler/examples/hamster-deprecated.yaml b/vertical-pod-autoscaler/examples/hamster-deprecated.yaml index 6586f6aa0acc..78a602886b81 100644 --- a/vertical-pod-autoscaler/examples/hamster-deprecated.yaml +++ b/vertical-pod-autoscaler/examples/hamster-deprecated.yaml @@ -31,7 +31,7 @@ spec: spec: containers: - name: hamster - image: registry.k8s.io/ubuntu-slim:0.1 + image: registry.k8s.io/ubuntu-slim:0.14 resources: requests: cpu: 100m diff --git a/vertical-pod-autoscaler/examples/hamster.yaml b/vertical-pod-autoscaler/examples/hamster.yaml index 17ec2ea60d00..2c282d7c872f 100644 --- a/vertical-pod-autoscaler/examples/hamster.yaml +++ b/vertical-pod-autoscaler/examples/hamster.yaml @@ -49,7 +49,7 @@ spec: runAsUser: 65534 # nobody containers: - name: hamster - image: registry.k8s.io/ubuntu-slim:0.1 + image: registry.k8s.io/ubuntu-slim:0.14 resources: requests: cpu: 100m