From 69dca7e1f292309e877aee0366e0a78a74049ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Thu, 15 Aug 2024 09:52:38 +0300 Subject: [PATCH] wildduck: Add topologySpreadConstraints for Dragonfly --- wildduck/session-storage.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wildduck/session-storage.yaml b/wildduck/session-storage.yaml index 5d59318..48d1a83 100644 --- a/wildduck/session-storage.yaml +++ b/wildduck/session-storage.yaml @@ -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