mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 05:40:42 +00:00 
			
		
		
		
	Use Pause image for DisruptionController tests
This commit is contained in:
		| @@ -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{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user