concept
Topology spread
Distribute matching Kubernetes Pods across failure domains using topology spread constraints, and reason about maxSkew, minDomains and unschedulable cases.
Formal Syntax & Structure
kubernetes syntaxkubernetes
Topology spreadWorking Example
Example Snippetkubernetes
topologySpreadConstraints:- maxSkew: 1 topologyKey: topology.kubernetes.io/zone whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app: catalog-worker