mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
remove weird pause args from this networking.go, that break the periodic sig-network tests
This commit is contained in:
parent
97cf67b329
commit
4d757f1c52
@ -52,6 +52,7 @@ func checkConnectivityToHost(f *framework.Framework, nodeName, podName, host str
|
||||
|
||||
pod := e2epod.NewAgnhostPod(f.Namespace.Name, podName, nil, nil, nil)
|
||||
pod.Spec.Containers[0].Command = command
|
||||
pod.Spec.Containers[0].Args = nil // otherwise 'pause` is magically an argument to nc, which causes all hell to break loose
|
||||
pod.Spec.NodeName = nodeName
|
||||
pod.Spec.RestartPolicy = v1.RestartPolicyNever
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user