GKE ingress controller svc externalTrafficPolicy to Local

5/12/2020

In order to get the real client ip,I change the ingress controller svc(LoadBalancer type) externalTrafficPolicy to Local.But once I set the externalTrafficPolicy to Local,all ingress will can't access. So I would like to know,how can I get the client ip in ingress-nginx controller on GKE.

-- Leaf Rotten
gke-networking
kubernetes

0 Answers