-
Notifications
You must be signed in to change notification settings - Fork 42k
Automated cherry pick of #125675: Fix endpoints status out-of-sync when the pod state changes #125857
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 #125675: Fix endpoints status out-of-sync when the pod state changes #125857
Conversation
|
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 DetailsInstructions 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-sigs/prow repository. |
33323d6 to
ae78ef9
Compare
neolit123
left a comment
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.
/uncc
When Pod state changes rapidly, endpoints controller may use outdated informer cache to sync Service. If the outdated endpoints appear to be expected by the controller, it skips updating it. The commit fixes it by checking if endpoints informer cache is outdated when processing a service. If the endpoints is stale, it returns an error and retries later. Signed-off-by: Quan Tian <[email protected]>
ae78ef9 to
c1aea3d
Compare
|
/assign @aojea Hi, I assume this should be backported as it could randomly affect users/components relying on endpoints. |
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 6720d232f65927edff977f02f27c094d031a75df |
|
/kind bug |
|
/cc kubernetes/release-managers |
|
/remove-sig api-machinery |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, saschagrunert, tnqn The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
2 similar comments
|
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
|
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
Cherry pick of #125675 on release-1.30.
#125675: Fix endpoints status out-of-sync when the pod state changes
For details on the cherry pick process, see the cherry pick requests page.