Difference between revisions of "Kubernetes Pod Topology Spread Constraints"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
- [[maxSkew]]: <integer> | - [[maxSkew]]: <integer> | ||
topologyKey: <string> | topologyKey: <string> | ||
− | [[whenUnsatisfiable]]: [ DoNotSchedule | ScheduleAnyway ] | + | [[whenUnsatisfiable]]: [ [[DoNotSchedule]] | [[ScheduleAnyway]] ] |
[[labelSelector:]] <object> | [[labelSelector:]] <object> | ||
Revision as of 16:03, 30 November 2022
apiVersion: v1 kind: Pod metadata: name: mypod spec: topologySpreadConstraints: - maxSkew: <integer> topologyKey: <string> whenUnsatisfiable: [ DoNotSchedule | ScheduleAnyway ] labelSelector: <object>
topology.kubernetes.io/zone topology.kubernetes.io/region
Related
- Kubernetes Topology Manager introduced in (March 2020) Kubernetes 1.18
See also
Advertising: