Kubernetes (GKE) on Google Cloud : Get Real IP of the client from Traefik

2/17/2020

I am using Google Kubernetes Engine on Google Cloud Platform (GCP): I am using traefik ingress in GKE.

How do I get the real source IP of the client in the backend services behind traefik ?

I tried setting externalTrafficPolicy: Local in GKE but, the Kubernetes Docs say that it will cause a problem in uniform load balancing.

Can you please help me get the real source IP of the client ?

-- Prakash Premkumar
clientip
google-cloud-platform
google-kubernetes-engine
traefik
traefik-ingress

0 Answers