topology domain
A group of nodes that tend to fail together, such as one zone or one machine, identified by a shared node label.
In more detail
Spreading replicas across failure domains means one outage cannot take them all. Kubernetes uses well-known labels such as topology.kubernetes.io/zone and kubernetes.io/hostname for this. A rule that names a label your nodes lack leaves pods unschedulable.
Related terms
- topology spread constraints — Pod rules that keep replicas evenly spread across zones or nodes, allowing at most a set difference, the skew, between any two.
- availability zone — One of several isolated groups of data centres inside a cloud region, with separate power and networking so a failure in one does not take down the others.
- pod affinity — Rules that place a pod near, or with anti-affinity away from, other pods that carry certain labels, measured within a topology such as a node or zone.
Taught in
- Pods, Init Containers And Sidecars — Kubernetes: Production-Grade Container Orchestration
- Node Affinity, Pod Affinity And Topology Spread — Kubernetes: Production-Grade Container Orchestration