Skip to content

Commit

Permalink
Update ubuntu-slim with Docker Schema 2 image
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishenzie committed Jan 7, 2025
1 parent a587c55 commit 65177a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vertical-pod-autoscaler/e2e/v1/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions vertical-pod-autoscaler/e2e/v1beta2/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/examples/hamster-deprecated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/examples/hamster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65177a2

Please sign in to comment.