passmower: Add topologySpreadConstraints

This commit is contained in:
Lauri Võsandi 2024-08-13 14:50:25 +03:00
parent 7c16f84200
commit 7aa26ea236

View File

@ -23,6 +23,14 @@ spec:
key: password
name: dragonfly-auth
replicas: 3
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: dragonfly-ephemeral
app.kubernetes.io/part-of: dragonfly
resources:
limits:
cpu: 600m