GKE - Error with ingress controller with externalTrafficPolicy set to Local

6/21/2018

I have a kubernetes cluster in GKE (version 1.10).

I have deployed an ingress controller with a service type LoadBalancer.

I have set externalTrafficPolicy to Local to retrieve the source ip in my containers.

It works well but there is a side effect: according to the docs only one instance is healthy and I have noticed that if I connect to an unhealty node or a container in an unhealthy node, I cannot connect to a service located in the cluster via its public dns (pointing to the load balancer ip).

Thanks for your help

-- matth3o
google-kubernetes-engine
kubernetes
load-balancing

0 Answers