Hi Folks,
I am using Trafeik version 2.3.1 deployed to GCP/in house kubernetes clusters. But I can't see the client real/public IP at access logs who access for my site. I was using trafeik version 1 and it was working fine for that but not on version 2. Can some one help me on that to enable it on Trafeik version 2. I am using HELM chart to deploy it . My few configuration details are as below,
My HELM configurations section for logging are,
logs:
general:
level: INFO
access:
enabled: true
format: json
# bufferingSize: 100
filters: {}
fields:
general:
defaultmode: keep
names {}
headers:
defaultmode: keep
names {}
===============================
Also Added annotation at ingress rules file
annotations:
traefik.ingress.kubernetes.io/preserve-host: "true"
BR,
Dileeka