Difference between revisions of "Kubernetes Pod Topology Spread Constraints"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
   [[topologySpreadConstraints:]]
 
   [[topologySpreadConstraints:]]
 
     - [[maxSkew]]: <integer>
 
     - [[maxSkew]]: <integer>
       topologyKey: <string>
+
       [[topologyKey]]: <string>
 
       [[whenUnsatisfiable]]: [ [[DoNotSchedule]] | [[ScheduleAnyway]] ]
 
       [[whenUnsatisfiable]]: [ [[DoNotSchedule]] | [[ScheduleAnyway]] ]
 
       [[labelSelector:]] <object>
 
       [[labelSelector:]] <object>
  
  
 +
[[kubectl describe nodes]] | grep topology
 
  [[topology.kubernetes.io/zone]]
 
  [[topology.kubernetes.io/zone]]
 
  [[topology.kubernetes.io/region]]
 
  [[topology.kubernetes.io/region]]
Line 27: Line 28:
 
* [[Kubernetes pod affinity and anti affinity]]
 
* [[Kubernetes pod affinity and anti affinity]]
 
  [[spec.nodeSelector]]
 
  [[spec.nodeSelector]]
  [[defaultConstraints:]] <ref>https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints</ref>
+
  [[defaultConstraints:]] [[Kubernetes v1.24]] <ref>https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints</ref>
 +
 
 +
* [[Karpenter]]
  
 
== See also ==
 
== See also ==

Latest revision as of 17:43, 16 December 2022

Advertising: