← All notes

Kubernetes Topology Aware Routing: prefer same-zone traffic

Answer: Topology Aware Routing helps keep network traffic in the zone where it originated. Same-zone traffic can help with reliability, performance, or cost. Enable it on a Service with the service.kubernetes.io/topology-mode annotation set to Auto.

Examples

metadata:
  annotations:
    service.kubernetes.io/topology-mode: Auto

Notes

When enough endpoints exist in each zone, topology hints are populated on EndpointSlices. This is not based on real-time feedback.

Reference list

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Topology Aware Routing; Kubernetes website, topology-aware-routing.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Topology Aware Routing; Kubernetes website, topology-aware-routing.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:kga1135k

iinventedlight. 2026. "Kubernetes Topology Aware Routing: prefer same-zone traffic." iinventedlight Library, iil:note:kga1135k, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-topology-aware-routing/. License: CC-BY-4.0.

@misc{iil_note_kga1135k,
  author = {{iinventedlight}},
  title = {{Kubernetes Topology Aware Routing: prefer same-zone traffic}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-topology-aware-routing/},
  note = {Permanent ID iil:note:kga1135k. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-topology-aware-routing.md.