Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
In case HA is enabled, it should be possible to define topology spread constrains to make sure the replicas are deployed on different nodes/zones
for instance:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector :
matchLabels:
key: value
Reference:
https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/