-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Manual cherry pick of part of #44053 to release-1.5 #44365
Manual cherry pick of part of #44053 to release-1.5 #44365
Conversation
This is a manual application of git commit 7664b97 to release-1.5 branch. The unit test part is dropped as it has too many dependencies that shouldn't be cherry picked. 7664b97: Add tests for kube-proxy healthcheck, fix bug Adding test cases for HC updates found a bug with an update that simultaneously removes one port and adds another. Map iteration is randomized, so sometimes no HC would be created.
Service update that simultaneously removes one port and adds another will trigger OnServiceUpdate to mistakenly remove health check on nodes. This commit fixes the health check deletion logic. This is a surgical fix only in 1.5 for the health check bug (kubernetes#44053). It does not exist on 1.6+ as we overhauled healthcheck package completely.
/unassign @smarterclayton @bprashanth |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrHohn, thockin
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@saad-ali Not sure who is handling 1.5 patch release? |
@mwielgus We'd like to check the fix in for 1.5.7 :) |
Ping @@mwielgus :) |
@mwielgus Thanks! |
Automatic merge from submit-queue |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
This cherry pick has the same purpose as #44246 and #44315.
The first commit is a manual application of git commit 7664b97 to
release-1.5 branch. The unit test part is dropped as it has too
many dependencies that shouldn't be cherry picked.
The second commit is a surgical fix that does not exist on 1.6+, as
we overhauled healthcheck package completely. It fixes the health
check deletion logic in OnServiceUpdate for the same bug.
@thockin @freehan
Release note: