From ed07ae6cd86a0a88033b2dc6840cfc8ff254566b Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Tue, 16 Jul 2024 17:10:02 +0200 Subject: [PATCH] test: use pause image for autoscaler tests --- test/framework/autoscaler_helpers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/framework/autoscaler_helpers.go b/test/framework/autoscaler_helpers.go index 13a5a33ee153..ba6ef818c0fd 100644 --- a/test/framework/autoscaler_helpers.go +++ b/test/framework/autoscaler_helpers.go @@ -191,14 +191,14 @@ func AddScaleUpDeploymentAndWait(ctx context.Context, input AddScaleUpDeployment Spec: corev1.PodSpec{ Containers: []corev1.Container{ { - Name: "busybox", - Image: "busybox", + Name: "pause", + Image: "registry.k8s.io/pause", + ImagePullPolicy: corev1.PullIfNotPresent, Resources: corev1.ResourceRequirements{ Requests: map[corev1.ResourceName]resource.Quantity{ corev1.ResourceMemory: *podMemory, }, }, - Command: []string{"/bin/sh", "-c", "echo \"up\" & sleep infinity"}, }, }, },