From bebc5fbe8894f17840e578123dee127d9510579f Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Thu, 30 Nov 2023 15:51:50 +0100 Subject: [PATCH] BC-5423 - Adjusted weighting for pod Inter-pod affinity and anti-affinity --- .../roles/schulcloud-client-core/templates/deployment.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/schulcloud-client-core/templates/deployment.yml.j2 b/ansible/roles/schulcloud-client-core/templates/deployment.yml.j2 index f5dea5ec51..400377c3fb 100644 --- a/ansible/roles/schulcloud-client-core/templates/deployment.yml.j2 +++ b/ansible/roles/schulcloud-client-core/templates/deployment.yml.j2 @@ -90,7 +90,7 @@ spec: affinity: podAffinity: preferredDuringSchedulingIgnoredDuringExecution: - - weight: 100 + - weight: 9 podAffinityTerm: labelSelector: matchExpressions: @@ -111,7 +111,7 @@ spec: values: - client topologyKey: "cloud.ionos.com/nodepool-name" - - weight: 10 + - weight: 20 podAffinityTerm: labelSelector: matchExpressions: