From 763e7923fb9367f9a9156caaf584c4d4af51e4ae Mon Sep 17 00:00:00 2001 From: Piotr Betkier Date: Wed, 17 May 2023 11:19:23 +0200 Subject: [PATCH] e2e: replace ubuntu-slim with agnhost in hpa cm noExporterDeployment --- .../autoscaling/custom_metrics_stackdriver_autoscaling.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/autoscaling/custom_metrics_stackdriver_autoscaling.go b/test/e2e/autoscaling/custom_metrics_stackdriver_autoscaling.go index e81cd63503f..9accfd7cd0d 100644 --- a/test/e2e/autoscaling/custom_metrics_stackdriver_autoscaling.go +++ b/test/e2e/autoscaling/custom_metrics_stackdriver_autoscaling.go @@ -639,10 +639,10 @@ func noExporterDeployment(name, namespace string, replicas int32) *appsv1.Deploy d.Spec.Template.Spec = v1.PodSpec{Containers: []v1.Container{ { Name: "sleeper", - Image: "k8s.gcr.io/ubuntu-slim:0.1", + Image: "registry.k8s.io/e2e-test-images/agnhost:2.40", ImagePullPolicy: v1.PullAlways, - Command: []string{"/bin/sh"}, - Args: []string{"-c", "sleep 1d"}, // effectively forever + Command: []string{"/agnhost"}, + Args: []string{"pause"}, // do nothing forever }, }} return d