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
Cross namespace communication in GKE ingress #89917
Comments
/sig network These SIGs are my best guesses for this issue. Please comment 🤖 I am a bot run by vllry. 👩🔬 |
/triage unresolved Comment 🤖 I am a bot run by vllry. 👩🔬 |
Create the |
/assign @bowei |
@bowei If you aren't able to handle this issue, consider unassigning yourself and/or adding the 🤖 I am a bot run by vllry. 👩🔬 |
/remove-triage unresolved |
This is by design, the Ingress object can only target services in the same namespace. |
Reading through your bugs, I want to clarify that "is not able to communicate" means:
If this is 1. then this is part of the API, if it is the case for 2., then if you can post an anonymized version of your config, it would be great. |
Ping @ankita-1420 To echo Bowei - the Ingress API intentionally does not cross namespaces. If you REALLY need to do that, you can maybe use the service-NEG controller and link the NEGs together manually though an HTTP LB directly? |
In case someone else wanders here with a similar issue. Another solution could be to create a service of type |
@ashutoshgngwr i was not able to use ExternalName, because:
do you have any working examples onto this? Thanks |
@Berndinox It was more of a hypothesis than a solution. Looking at the error message, it looks like that I was wrong. |
Hej, thanks for answering. So that's bad news. Just:
someone finds another solution? |
gateway-api is in preview for gke, see: https://cloud.google.com/kubernetes-engine/docs/concepts/gateway-api |
Hey @liggitt,
We have two different applications deployed in two different namespaces in GKE, I am trying to expose these applications using GKE Ingress which is in the default namespace.
I have SSL certificates for this applications.
The issue we are facing now is external load balancer is not able to communicate with our applications because the namespaces are different.
Referring to issue no #17088 I found that Nginx ingress can be used in this case, but my use-case restricts use of Nginx or any third party tool, Hence can you help me to find a solution or any work-around for this using GKE ingress only.
The text was updated successfully, but these errors were encountered: