-
Notifications
You must be signed in to change notification settings - Fork 193
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
Honor publishNotReadyAddresses flag for non headless services #3216
Comments
This flag only applies to non headless services
What behavior are you expecting wrt exported service? |
It should apply for both or do I miss something?
The exported service need the same flag as the service which submariner should export in order to have a consistent behaviour. |
Actually I meant to say it "only applies to headless services" Per the definition of the The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. So for headless services, we have a use case for this flag and we implemented it. For ClusterIP (ie non-headless) services we don't publish the local pod endpoint IPs to other clusters in the
I'm not following here. The |
Ok then may I don't know the exact component which is causing issues here. What I mean is:
I want to run a Cassandra database across multiple k8s clusters and because they have overlapping CIDR networks, Globalnet is used. |
Ok - that's an internal local service created by Globalnet, I believe to handle ingress traffic for the global IP and route to the exported service's pods @aswinsuryan. It's not actually exported to other clusters - I was confused by the terminology. We can certainly propagate the |
Sorry!
Yes. But it get's automatically reverted |
Fixes submariner-io#3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes submariner-io#3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes submariner-io#3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes submariner-io#3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes #3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fixes #3216 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
What happened:
normal services which have the flag "publishNotReadyAddresses: true" defined does not get reflected on the exported services.
What you expected to happen:
The settings defined for a service which I want to export should get reflected on exported service.
It seems to be that this has been done for headless services: #2646
But not for non-headless services. Or a least the configuration item is missing in the exported service.
How to reproduce it (as minimally and precisely as possible):
subctl export service nginx -n default
Result:
Exported service does not get the flag
publishNotReadyAddresses: true
Environment:
subctl version: v0.18.0
The text was updated successfully, but these errors were encountered: