-
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
Headless service without selector doesn't work #1537
Comments
Opened the issue that I explained in the meeting and here. As you pointed out, globalingressip is not assigned. |
Sharing the easiest steps to create a test environment for this issue.
(The E2E test itself may fail due to multiple source IPs are assigned as a default global EgressIP. I will fix the test.) And below command will tear it down.
Below steps are the test for "service without selector" for "From cluster to external app". [From cluster to external app]
[From external app to cluster] (this may be out of the scope of this issue itself, but the source IP of this access is the point of interest)
(Tests for StatefulSet can be done by similar modification) |
I have a similar case to what @mkimuram reports where my headless Service with no selector contains an implicit Endpoint with an ipaddress of a pod in multus network - net1 interface. Is it possible to expose that service so that I can refer, from the other cluster, to pod's 2nd interface ipaddress via its service name ? e.g. to have my "session-management" pod to connect to my "userplane-function" pod via I tried to do so but I can not see the A record via Please note that submariner is installed on both of my cluster with none overlapped ips. Thanks. |
Interesting use case. Thank you for sharing it. This issue is for connectivity of "headless service without selector" and lighthouse#603 is for discovery of "service without selector". There is a workaround for discovery of "service without selector", so just for "service without selector", not for "headless service without selector", only the workaround for lighthouse#603 would work. |
Removed this from the Project board as we are tracking the corresponding PR. |
What happened:
Headless service without selector doesn't work.
What you expected to happen:
Headless service without selector does work
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
According to the above log, it seems to be handled as ingress pod, not a service without selector. Maybe we need to add a separete logic for headless service without selector, here? (There seems the logic only for headless service with selector).
Environment:
subctl diagnose all
):subctl gather
):The text was updated successfully, but these errors were encountered: