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
Automated cherry pick of #80942: Fix a bug in the IPVS proxier where virtual servers are not #81482
Automated cherry pick of #80942: Fix a bug in the IPVS proxier where virtual servers are not #81482
Conversation
…p even though the corresponding Service object was deleted.
/retest |
There's more context in #80942, but adding some here for reviewers: A few releases ago the IPVS proxy added graceful termination support, mainly because removing an IPVS backend also deletes all of it's connections, unlike the iptables proxy which persists the connection even after the endpoint is removed. This mainly fixes a bug where we don't trigger graceful termination for a deleted Service if it has real servers and as a result, the Service can never be deleted. The following check was problematic and removed as part of this PR:
When reviewing the PR though, we realized that there's no need to trigger graceful termination at all if a Service is deleted. At that point we shouldn't care about connections terminating and only attempt graceful termination if a backend is removed for an existing Service and so we updated the PR to ignore graceful termination on Service deletion entirely. It's worth calling out that graceful termination on Service deletion was initially added because IPVS with sysctl @lbernail please add more if I missed anything. /assign @thockin @lbernail @m1093782566 |
/assign @thockin |
/lgtm |
/kind bug |
Thanks! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewsykim, thockin 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 |
Cherry pick of #80942 on release-1.14.
#80942: Fix a bug in the IPVS proxier where virtual servers are not