Skip to content

Commit 9c76ce6

Browse files
authored
Merge pull request #10890 from k8s-infra-cherrypick-robot/cherry-pick-10879-to-release-1.6
[release-1.6] 🌱 test: use pause image for autoscaler tests
2 parents d2205a0 + b9936b2 commit 9c76ce6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/framework/autoscaler_helpers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@ func AddScaleUpDeploymentAndWait(ctx context.Context, input AddScaleUpDeployment
188188
Spec: corev1.PodSpec{
189189
Containers: []corev1.Container{
190190
{
191-
Name: "busybox",
192-
Image: "busybox",
191+
Name: "pause",
192+
Image: "registry.k8s.io/pause",
193+
ImagePullPolicy: corev1.PullIfNotPresent,
193194
Resources: corev1.ResourceRequirements{
194195
Requests: map[corev1.ResourceName]resource.Quantity{
195196
corev1.ResourceMemory: *podMemory,
196197
},
197198
},
198-
Command: []string{"/bin/sh", "-c", "echo \"up\" & sleep infinity"},
199199
},
200200
},
201201
},

0 commit comments

Comments
 (0)