From b2a923608392e97c9d92f47e8c4ba45dc47a429f Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Mon, 17 Feb 2025 01:50:38 +0100 Subject: [PATCH] Fixed topologySpreadConstraints --- apps/lldap/deployment.yaml | 4 ++-- apps/whoami.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/lldap/deployment.yaml b/apps/lldap/deployment.yaml index 1b47d35..68796ac 100644 --- a/apps/lldap/deployment.yaml +++ b/apps/lldap/deployment.yaml @@ -12,10 +12,10 @@ spec: topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname - whenUnsatisfiable: ScheduleAnyway + whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: - type: dummy + app: lldap selector: matchLabels: app: lldap diff --git a/apps/whoami.yaml b/apps/whoami.yaml index 285be17..077d5b2 100644 --- a/apps/whoami.yaml +++ b/apps/whoami.yaml @@ -14,7 +14,7 @@ spec: whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: - type: dummy + app: whoami selector: matchLabels: app: whoami