fix mcpacks topology spread scheduling
This commit is contained in:
@@ -29,9 +29,12 @@ spec:
|
||||
# Keep normal replica placement balanced across nodes. maxSkew 1 still
|
||||
# permits one temporary surge Pod during a zero-downtime rollout; strict
|
||||
# anti-affinity would deadlock that rollout when only two workers exist.
|
||||
# Honor excludes the tainted control-plane nodes from the skew calculation;
|
||||
# counting nodes this Pod cannot use would make the surge unschedulable.
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: kubernetes.io/hostname
|
||||
nodeTaintsPolicy: Honor
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
|
||||
Reference in New Issue
Block a user