Automated cherry pick of #127417: bugfix: endpoints controller track resource version#127454
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. |
|
same as #127452 (comment) |
9a181db to
753fe98
Compare
|
Due to the diff between release-1.28 and master, the test was modified slightly to initialize the context and use the util functions that are available in release-1.28. There is no logical difference between the tests. |
The endpoints controller store the resource version of the previous Endpoints objects to avoid issues related to stale information on the cache. However, there can be update operations that succeed without increasing the resource version, causing the endpoints controller to declare stale the existing Resource Version and stopping the Endpoints to be updated. Co-Author-By: Quan Tian <quan.tian@broadcom.com> Co-Author-By: Yang Yang <yyyng@amazon.com>
753fe98 to
6226e65
Compare
|
/lgtm Thanks |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, swetharepakula 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 |
|
LGTM label has been added. DetailsGit tree hash: f65b10784bd1457664fcf5ee22a097f96a938956 |
Cherry pick of #127417 on release-1.28.
#127417: bugfix: endpoints controller track resource version
For details on the cherry pick process, see the cherry pick requests page.