spring-microservices-k8s icon indicating copy to clipboard operation
spring-microservices-k8s copied to clipboard

Ingress is not able to map the correct backend service.

Open JToaddler opened this issue 1 year ago • 2 comments

Ingress is created in gateway namespace and its able map only the backend service that are within the gateway namespace only. Hence its not able to fine the other backend service. See the screenshot below.

image

JToaddler avatar Apr 16 '23 19:04 JToaddler

Solution is to have external name service type for each service that are in different namespace.

Solution is discussed here

https://stackoverflow.com/questions/51878195/kubernetes-cross-namespace-ingress-network/51899301#51899301

JToaddler avatar Apr 16 '23 19:04 JToaddler

Will take a look. If you fell contributing send a PR. I wanted to replace minikube with KinD, long overdue

On Sun, Apr 16, 2023, 3:35 PM JToaddler @.***> wrote:

Solution is to have external name service type for each service that are in different namespace.

Solution is discussed here

https://stackoverflow.com/questions/51878195/kubernetes-cross-namespace-ingress-network/51899301#51899301

— Reply to this email directly, view it on GitHub https://github.com/AndriyKalashnykov/spring-microservices-k8s/issues/5#issuecomment-1510468853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP4DZIGBEMWPQXWJH4SM6TXBRCZ5ANCNFSM6AAAAAAXAJ2ZWE . You are receiving this because you are subscribed to this thread.Message ID: @.*** .com>

AndriyKalashnykov avatar Apr 16 '23 19:04 AndriyKalashnykov