Kubernetes Pod Topology Spread Constraints

From wikieduonline
Revision as of 15:58, 30 November 2022 by Ant (talk | contribs)
Jump to navigation Jump to search


apiVersion: v1
kind: Pod
metadata:
  name: mypod
spec:
  topologySpreadConstraints:
    - maxSkew: <integer>
      topologyKey: <string>
      whenUnsatisfiable: [ DoNotSchedule | ScheduleAnyway ]
      labelSelector: <object>


Related

See also

Advertising: