-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
iptables reset text message #70874
iptables reset text message #70874
Conversation
Hi @rdodev. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/assign @timothysc |
/test pull-kubernetes-e2e-kops-aws /test pull-kubernetes-e2e-gce-100-performance |
/test pull-kubernetes-e2e-gce-100-performance |
I don't think the failure is related to this PR at all |
41cf4a4
to
4e9092c
Compare
4e9092c
to
6a25a92
Compare
Signed-off-by: Ruben Orduz <rubenoz@gmail.com>
6a25a92
to
89a5d5c
Compare
@timothysc can get review resolved /lgtm if you deem it so, when you get a chance? |
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.
thanks @rdodev
added one comment about the potential for moving this to the cmd long description.
If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) | ||
to reset your system's IPVS tables. | ||
` | ||
fmt.Print(msg) |
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 think we should print this in the cobra commands help screen e.g. kubeadm reset --help
instead of printing it on every run.
but i will defer to @timothysc 's decision on this.
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.
It only matters when they run the command, so I'm fine with it here. Otherwise it would just be noise in the help window.
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rdodev, timothysc 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 |
/retest |
Signed-off-by: Ruben Orduz rubenoz@gmail.com
What type of PR is this?
What this PR does / why we need it:
Presently
kubeadm reset
does not delete or clean up iptables rules. The way components are separated and decoupled makes a programmatic solution rather cumbersome. Thus, it was agreed to expand the reset console output to include instructions how a user might want to reset their iptables.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #689
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
YES
-->