From 06d8e38f9b7ded189650d7464afd5d200b2ce546 Mon Sep 17 00:00:00 2001 From: Matt Pryor Date: Wed, 5 Jun 2024 12:32:07 +0100 Subject: [PATCH] Make SSHD skew calculations respect affinity + taints (#451) --- charts/server/templates/sshd/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/server/templates/sshd/deployment.yaml b/charts/server/templates/sshd/deployment.yaml index 7c03bbfb..2812cd58 100644 --- a/charts/server/templates/sshd/deployment.yaml +++ b/charts/server/templates/sshd/deployment.yaml @@ -61,6 +61,9 @@ spec: whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: {{ include "zenith.componentSelectorLabels" (list . "sshd") | nindent 14 }} + # Tell Kubernetes to respect node affinity and taints when doing spread calculations + nodeAffinityPolicy: Honor + nodeTaintsPolicy: Honor volumes: - name: etc-zenith configMap: