Set Traefik externalTrafficPolicy=Local to preserve client IP

FixKlusterServices
Shipped
2026年4月18日 1:59 UTC
Author
Kamo
Commit
11dd645

With the default "Cluster" policy, kube-proxy SNATs external traffic to the node IP before forwarding to Traefik. That caused Traefik to see the node IP as the source and put it in X-Forwarded-For, which broke IP-based geo lookup in kamo-analytics (visitor locations on world map stayed empty). "Local" policy skips SNAT and passes the original client IP through, which is what IP-based analytics needs.

All changes

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る