Hi,
I'm using Traefik with helm chart. it runs on k8s
I added access logs and want to have a public client IP
this is my value.yml file-
autoscaling:
enabled: true
maxReplicas: 5
minReplicas: 3
logs:
# general:
# level: INFO
access:
enabled: true
format: json
fields:
headers:
defaultMode: keep
names:
defaultMode: keep
User-Agent: keep
Autorization: keep
Content-Type: keep
X-Forwarded-Host: keep
X-Forwarded-Tls-Client-Cert-Info: keep
X-Real-IP: keep
X-Forwarded-For: keep
service:
spec:
loadBalancerIP: xx.xx.xx.xx
I see all access logs but client IP is private IP and not public
how to get real client public IP ?