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

1k Views Asked by At

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 ?

0

There are 0 best solutions below