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
Updating EndpointSlice controllers to avoid duplicate creations #100103
Conversation
This updates the StaleSlices() method in EndpointSliceTracker to also ensure that the tracker does not have more slices than have been provided. Co-Authored-By: Swetha Repakula <srepakula@google.com>
@robscott: GitHub didn't allow me to request PR reviews from the following users: swetharepakula. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
@robscott: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
@swetharepakula you should apply to the kubernetes org membership |
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: freehan, robscott, swetharepakula 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 |
/milestone v1.21 bug fix improves test coverage of existing code that was merged in before code freeze |
This PR was filed as a temporary workaround to reduce flakiness. Now that the root cause has been fixed by kubernetes#100103 we can restore the full test.
This PR was filed as a temporary workaround to reduce flakiness. Now that the root cause has been fixed by #100103 we can restore the full test.
This fixed a flaky test added in 1.21 which was picked to 1.19 and 1.20. Should this fix also be picked to 1.19 and 1.20? |
…3-upstream-release-1.20 Automated cherry pick of #100103: Updating EndpointSlice controllers to avoid duplicate
What type of PR is this?
/kind bug
What this PR does / why we need it:
This updates the StaleSlices() method in EndpointSliceTracker to also ensure that the tracker does not have more slices than have been provided.
Which issue(s) this PR fixes:
Fixes #100033
Special notes for your reviewer:
This is a simpler replacement for #100042 after @lavalamp made it clear that we could depend on reliably getting deletes in
onEndpointSliceDelete
. I had previously thought that some deletes might get missed by these handlers.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/cc @aojea @lavalamp @swetharepakula @wojtek-t
/assign @freehan
/sig network
/priority important-soon