Interview Prep/Kubernetes/Services, Networking, Ingress & Gateway API

How do topology-aware routing and `trafficDistribution` reduce cross-zone cost?

AdvancedConceptServices, Networking, Ingress & Gateway API
Answer

Setting spec.trafficDistribution: PreferClose (GA in 1.33) makes the data plane prefer endpoints in the client's zone, falling back elsewhere. This cuts cross-AZ data transfer charges and latency, but can unbalance load if zones have unequal replica counts, so combine it with topology spread constraints.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Services, Networking, Ingress & Gateway API