-
Notifications
You must be signed in to change notification settings - Fork 35
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
Service discovery returning IPs of stale endpoints #1416
Labels
Comments
tpantelis
added a commit
to tpantelis/lighthouse
that referenced
this issue
Nov 1, 2023
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]>
tpantelis
added a commit
to tpantelis/lighthouse
that referenced
this issue
Nov 2, 2023
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]>
sridhargaddam
pushed a commit
that referenced
this issue
Nov 2, 2023
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 #1416 Signed-off-by: Tom Pantelis <[email protected]>
tpantelis
added a commit
to tpantelis/lighthouse
that referenced
this issue
Nov 2, 2023
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]>
tpantelis
added a commit
that referenced
this issue
Nov 2, 2023
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 #1416 Signed-off-by: Tom Pantelis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to https://issues.redhat.com/browse/ACM-8423.
The LH
EndpointSlice
still remained after a service was deleted. It seems the service was deleted while the LH agent wasn't running. We need to delete staleEndpointSlices
on restart.The text was updated successfully, but these errors were encountered: