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:
Kubernetes Prow Robot 2021-01-17 14:31:43 -08:00 committed by GitHub
commit d72c056260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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