Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Make SSHD skew calculations respect affinity + taints (azimuth-cloud#451
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mkjpryor committed Jun 5, 2024
1 parent 70e4aba commit 06d8e38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/server/templates/sshd/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 06d8e38

Please sign in to comment.