Skip to content

requeue endpoint reconcile when the service is created after the endpoint #2846

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Prakhar824
Copy link

@Prakhar824 Prakhar824 commented May 28, 2025

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #2719

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster does not sync the endpoint to host cluster if the endpoint is created before the service.

What else do we need to know?
When an endpoint is created before its corresponding service, it does not sync to the host cluster because reconciliation is skipped due to the absence of the service in the vcluster. This PR adds the code to trigger endpoint reconciliation after the service is created, ensuring the associated endpoint is also synced to the host cluster.

@Prakhar824 Prakhar824 requested a review from FabianKramm as a code owner May 28, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Headless Service Endpoint and EndpointSlice not syncing from virtual to host
2 participants