New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove weird pause args from this networking.go, that break the perio… #98124
Conversation
…dic sig-network tests
/lgtm |
/kind failing-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest
/test pull-kubernetes-e2e-ubuntu-gce-network-policies |
/retest |
/approve |
/triage accepted |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cblecker, hasheddan, jayunit100 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EDIT: edited comment to make more sense:
It seems like the correct layering here is to do s/command/args/
in general, the command here should likely be passed as the args (docker CMD) instead of command (ENTRYPOINT), leaving room for entrypoint hijinks later.
This also avoids the args = []string{"pause}
defaulting that seems to be WAI when the CMD isn't specified.
Aside: the naming of these things continues to be really unfortunate and the inconsistency doesn't help 😞 . It's really ~ "ArgV" and "AppendedToArgV" :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just tried to urbandictionary WAI
and couldnt figure out what it is :) ?
Quick fix to #98117