-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP 1645: remove MCS EndpointSlice ownership requirement #4900
Conversation
tpantelis
commented
Oct 3, 2024
•
edited
Loading
edited
- One-line PR description: Remove MCS EndpointSlice ownership requirement
- Issue link: Multi-Cluster Services API #1645
- Other comments: It was discussed at a recent sig meeting that the KEP shoudn't mandate an MCS EndpointSlice to have an OwnerReference to its ServiceImport as long as there is another cleanup mechanism in place.
Welcome @tpantelis! |
Hi @tpantelis. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
/cc @MrFreezeex |
23ded99
to
5f0e62c
Compare
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.
I am not entirely sure I have the permission to add a lgtm label here but let's see 👀
/lgtm
/ok-to-test |
/assign @JeremyOT |
`EndpointSlices` will have an owner reference to their associated | ||
`ServiceImport`. | ||
`EndpointSlices` should have an owner reference to their associated | ||
`ServiceImport` unless the implementation has another mechanism to delete |
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.
this seems very open, are there any requirements this "mechanism to delete EndpointSlices" should met?
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.
I guess the only requirement is that the EndpointSlice should be deleted when the service is unexported. Exactly how that is done shouldn't matter. In fact, two known implementations do not use owner refs, hence this PR.
How about this text:
When a service is un-exported, the associated EndpointSlices will be deleted. The specific mechanism by which they are deleted is an implementation detail.
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.
I updated the commit with the above text.
It was discussed at a recent sig meeting that the KEP shoudn't mandate an MCS EndpointSlice to have an OwnerReference to its ServiceImport as long as there is another cleanup mechanism in place. Signed-off-by: Tom Pantelis <[email protected]>
5f0e62c
to
3e4d032
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrFreezeex, skitt, tpantelis 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 |