Upgrade passmower, set topologySpreadConstraints

This commit is contained in:
Erki Aas
2026-09-21 09:27:30 +03:00
parent f55bb328ac
commit 8f3aedd9e5
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -108,3 +108,17 @@ nodeSelector: {}
tolerations: []
affinity: {}
# Spread the replicas one per node. Without this the scheduler packs two onto
# whichever worker is emptiest, the descheduler's RemoveDuplicates strategy
# calls that a duplicate and evicts one every --descheduling-interval (5m),
# and the replacement lands on the same node again - an eviction loop that
# shows up as pod churn with zero container restarts.
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: passmower
app.kubernetes.io/instance: passmower