-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Add cleanup-ipvs flag for kube-proxy #56036
Conversation
c96bf9b
to
e977de8
Compare
/assign @thockin |
f7e61bb
to
1e1dfb5
Compare
/lgtm |
/retest Review the full test history for this PR. |
2 similar comments
/retest Review the full test history for this PR. |
/retest Review the full test history for this PR. |
1e1dfb5
to
f3e744b
Compare
@m1093782566 how does this affect (Sorry to ask but I didn't have the time to look into the PR code.) |
This PR doesn't cover the case you mentioned.
I didn't do that because the flag |
BTW, there is a deprecated flag |
[MILESTONENOTIFIER] Milestone Pull Request Labels Incomplete @dchen1107 @m1093782566 @mikedanese @thockin Action required: This pull request requires label changes. If the required changes are not made within 2 days, the pull request will be moved out of the v1.9 milestone. kind: Must specify exactly one of |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: m1093782566, thockin Associated issue: 55857 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 55103, 56036, 56186). If you want to cherry-pick this change to another branch, please follow the instructions here. |
@m1093782566 @thockin This change broke cross build on Windows:
|
Hi Team , Any final cmd to resolve the issue. |
What this PR does / why we need it:
There is no way to tell if a given ipvs rule is created by ipvs proxier or not, and some people have complained that iptables/userspace proxier will clean up their ipvs rules when start up - both iptables and userspace proxiers need to clean up legacy proxy rules created by ipvs proxier.
This PR adds a new
--cleanup-ipvs
flag for kube-proxy for the sake of providing users a way to decide if clean up IPVS rules or not when start iptables or userspace proxier.Which issue(s) this PR fixes:
Fixes #55857
Special notes for your reviewer:
Release note:
/sig network
/area ipvs
/king bug