How to create proxy on 3 Kubernetes services

11/13/2019

I have Kubernetes setup on 3 nodes. There is a service running on each node. ex- outside services - x.x.x.0:9094, x.x.x.2:9095, x.x.x.3:9096

Now I want a proxy service in Kubernetes to redirect the request to each service in case of failure.

example, third party application will hit on proxy service. And proxy service will redirect the request to x.x.x.0:9094. If x.x.x.0:9094 is not reachable then it will redirect the request to another IP x.x.x.2:9095

Can someone provide the sample on this?

Thanks

-- lucy
kubernetes
kubernetes-ingress
proxy

0 Answers