How to make an Ingress Controller send traffic to outside IP?

9/25/2019

It's possible to make an Ingress Controller, or anything else (preferably something already done, not needing to code a service per say), to send traffic to an external IP? Why: I have an application which will interact with my k8s cluster from the outside, I already know that I can use an Ingress Controller to make its connection to the cluster, but what if the other applications need to reach this external application? Is there a way to do this?

-- Thiago Casa Nova
kubernetes
kubernetes-ingress

1 Answer

9/25/2019

It depends on the controller, but most will work with an ExternalName type Service to proxy to an arbitrary IP even if that's outside the cluster.

-- coderanger
Source: StackOverflow