mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #92745 from hakman/disruption-image-busybox
Use Pause image for DisruptionController tests
This commit is contained in:
commit
1b4e904183
@ -461,8 +461,8 @@ func createPodsOrDie(cs kubernetes.Interface, ns string, n int) {
|
|||||||
Spec: v1.PodSpec{
|
Spec: v1.PodSpec{
|
||||||
Containers: []v1.Container{
|
Containers: []v1.Container{
|
||||||
{
|
{
|
||||||
Name: "busybox",
|
Name: "donothing",
|
||||||
Image: imageutils.GetE2EImage(imageutils.EchoServer),
|
Image: imageutils.GetPauseImageName(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
RestartPolicy: v1.RestartPolicyAlways,
|
RestartPolicy: v1.RestartPolicyAlways,
|
||||||
@ -506,8 +506,8 @@ func waitForPodsOrDie(cs kubernetes.Interface, ns string, n int) {
|
|||||||
|
|
||||||
func createReplicaSetOrDie(cs kubernetes.Interface, ns string, size int32, exclusive bool) {
|
func createReplicaSetOrDie(cs kubernetes.Interface, ns string, size int32, exclusive bool) {
|
||||||
container := v1.Container{
|
container := v1.Container{
|
||||||
Name: "busybox",
|
Name: "donothing",
|
||||||
Image: imageutils.GetE2EImage(imageutils.EchoServer),
|
Image: imageutils.GetPauseImageName(),
|
||||||
}
|
}
|
||||||
if exclusive {
|
if exclusive {
|
||||||
container.Ports = []v1.ContainerPort{
|
container.Ports = []v1.ContainerPort{
|
||||||
|
Loading…
Reference in New Issue
Block a user