Home / Companies / Ambassador / Blog / Post Details
Content Deep Dive

externalTrafficPolicy=local on Kubernetes

Blog post from Ambassador

Post Details
Company
Date Published
Author
-
Word Count
194
Language
English
Hacker News Points
-
Summary

The text discusses external traffic policy in Kubernetes. It explains how traffic enters a Kubernetes cluster and is routed to the target pod via kube-proxy. Setting ExternalTrafficPolicy=local helps preserve source IPs when using Kubernetes ingress. Additionally, it mentions preserving source IP with Kubernetes ingress through X-Forwarded-For header or using an Edge Stack API Gateway. The text also provides a brief overview of pods and nodes in Kubernetes.