Skip to content

Pod IPs removed from EndpointSlices for non-headless services in v0.15 #1269

Answered by tpantelis
t0lya asked this question in Q&A
Discussion options

You must be logged in to vote

@abguptms Is this still a requirement for you? If so we should convert this back to an issue.

I think a fairly simple and clean solution would be to use the "endpointslice.kubernetes.io/managed-by" label to control the behavior of the generated EndpointSlices. So you would add the "endpointslice.kubernetes.io/managed-by" label with a custom value to the ServiceExport. This would signal the lighthouse EndpointSlice controller to publish the endpoints from the K8s EndpointSlice as is with the custom "endpointslice.kubernetes.io/managed-by" label and sync to the broker. With the custom label value it wouldn't interfere with K8s or lighthouse. Note this would only apply to non-headless servic…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@abguptms
Comment options

@vthapar
Comment options

@tpantelis
Comment options

@tpantelis
Comment options

Answer selected by tpantelis
@abguptms
Comment options

@tpantelis
Comment options

@abguptms
Comment options

@tpantelis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1267 on June 06, 2023 13:05.