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
slice mirroring controller should mirror annotations (except endpoints.kubernetes.io/last-change-trigger-time annotation) and labels #98116
Conversation
/assign @robscott |
@aojea: GitHub didn't allow me to request PR reviews from the following users: sgreene570. 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. |
6ff56be
to
759ce41
Compare
/retest |
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.
Overall LGTM but I think the tests should really assert on the actual annotation values that were set, not relying on just the update to indicate success.
Thanks for taking this on! /triage accepted |
Let's do it |
@aojea This LGTM, looks like it just needs a rebase. |
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.
Thanks, approval for integration test change.
/approve
Add support to the endpoint slice mirroring controller to mirror annotations, in addition to labels, but don´t mirror endpoint triggertime annotation. Also, fix a bug in the endpointslice mirroring controller, that wasn't updating the mirrored slice with the new labels, in case that only the endpoint labels were modified.
seems CI start to get overloaded? 🤔
and
/retest |
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, MrHohn, robscott 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 |
/retest |
1 similar comment
/retest |
looks like something around this is flaking badly (not sure if it is just the test or also the impl) - https://storage.googleapis.com/k8s-gubernator/triage/index.html?pr=1&test=TestEndpointSliceMirroringUpdates |
yep |
checking it right now |
it's currently affecting batch merges as well, so I would recommend opening a revert PR to have passing CI in parallel with trying to resolve the flake |
doing it righ tnow |
…-upstream-release-1.20 Automated cherry pick of #98116: slice mirroring controller mirror annotations
This was picked to release-1.19 (#100504) and release-1.20 (#100443), but the added integration test is flaky In the 1.21 timeframe, there were several follow-up fixes:
|
Add support to the endpoint slice mirroring controller to mirror
annotations, in addition to labels.
Also, fix a bug in the endpointslice mirroring controller, that
wasn't updating the mirrored slice with the new labels, in case
that only the endpoint labels were modified.
Fixes #98026