Skip to content
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 backport of #1430: Delete stale EndpointSlices on restart #1432

Conversation

tpantelis
Copy link
Contributor

Backport of #1430 on release-0.16.

#1430: Delete stale EndpointSlices on restart

For details on the backport process, see the backport requests page.

If a local LH EndpointSlices exists but the corresponding Service doesn't
exist, delete the EPS.

Also, a headless Service can have multiple EndpointSlices so reconcile
the LH EndpointSlices on startup to handle a K8s EndpointSlice deleted
while the controller wasn't running.

Fixes submariner-io#1416

Signed-off-by: Tom Pantelis <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1432/tpantelis/automated-backport-of-#1430-upstream-release-0.16
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@tpantelis tpantelis enabled auto-merge (rebase) November 2, 2023 12:48
@Jaanki Jaanki added the ready-to-test When a PR is ready for full E2E testing label Nov 2, 2023
@Jaanki Jaanki assigned Jaanki and tpantelis and unassigned Jaanki Nov 2, 2023
@tpantelis tpantelis merged commit 819be79 into submariner-io:release-0.16 Nov 2, 2023
35 of 36 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr1432/tpantelis/automated-backport-of-#1430-upstream-release-0.16]

@tpantelis tpantelis deleted the automated-backport-of-#1430-upstream-release-0.16 branch December 13, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants