1
0
forked from k-space/kube

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 key: password
name: dragonfly-auth name: dragonfly-auth
replicas: 3 replicas: 3
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: dragonfly-ephemeral
app.kubernetes.io/part-of: dragonfly
resources: resources:
limits: limits:
cpu: 600m cpu: 600m