mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #98124 from jayunit100/fix-pause-args
remove weird pause args from this networking.go, that break the perio…
This commit is contained in:
commit
d72c056260
@ -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