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
+1 -1
View File
@@ -11,7 +11,7 @@ helmCharts:
releaseName: *name releaseName: *name
repo: oci://ghcr.io/passmower/charts repo: oci://ghcr.io/passmower/charts
valuesFile: values.yaml valuesFile: values.yaml
version: 2.4.0 version: 2.4.1
resources: resources:
- ssh://git@git.k-space.ee/secretspace/kube/passmower # secrets: email-credentials, github-client, slack-client - ssh://git@git.k-space.ee/secretspace/kube/passmower # secrets: email-credentials, github-client, slack-client
+14
View File
@@ -108,3 +108,17 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} 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