I have this set up Load Balancer > Ingress Controller (nginx) -> Service -> Deployment (nginx).
The nginx deployment is logging `$remote_addr`and `$http_x_forwarded_for`, but both seem to be internal ip address. Any ideas on how I can preserve the client's IP? I set the LoadBalancer's externalTrafficPolicy to Local like this: kubectl patch svc api-lb -p '{"spec":{"externalTrafficPolicy":"Local"}}' and verified that by running `kubectl describe svc api-lb` and saw this: External Traffic Policy: Local Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.