mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
e2e: replace ubuntu-slim with agnhost in hpa cm noExporterDeployment
This commit is contained in:
parent
c99cf53a10
commit
763e7923fb
@ -639,10 +639,10 @@ func noExporterDeployment(name, namespace string, replicas int32) *appsv1.Deploy
|
|||||||
d.Spec.Template.Spec = v1.PodSpec{Containers: []v1.Container{
|
d.Spec.Template.Spec = v1.PodSpec{Containers: []v1.Container{
|
||||||
{
|
{
|
||||||
Name: "sleeper",
|
Name: "sleeper",
|
||||||
Image: "k8s.gcr.io/ubuntu-slim:0.1",
|
Image: "registry.k8s.io/e2e-test-images/agnhost:2.40",
|
||||||
ImagePullPolicy: v1.PullAlways,
|
ImagePullPolicy: v1.PullAlways,
|
||||||
Command: []string{"/bin/sh"},
|
Command: []string{"/agnhost"},
|
||||||
Args: []string{"-c", "sleep 1d"}, // effectively forever
|
Args: []string{"pause"}, // do nothing forever
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
return d
|
return d
|
||||||
|
Loading…
Reference in New Issue
Block a user