wildduck: Add topologySpreadConstraints for Dragonfly

This commit is contained in:
Lauri Võsandi 2024-08-15 09:52:38 +03:00
parent 4d5c47e21b
commit 69dca7e1f2

View File

@ -28,6 +28,14 @@ spec:
resources:
limits:
memory: 1Gi
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: session-storage
app.kubernetes.io/part-of: dragonfly
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor