cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit a6270825d3e4669b0f63334a83423df870795b1a
parent 7c6ede531a1d777eb121281f5db1185462f13546
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 23 Oct 2023 13:30:43 +0200

Fix affinity

Diffstat:
Mapps/base/matrix/draupnir-synapse/release.yaml | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/apps/base/matrix/draupnir-synapse/release.yaml b/apps/base/matrix/draupnir-synapse/release.yaml @@ -57,6 +57,15 @@ spec: enabled: true workers: default: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: + - worker-2 tolerations: - key: "arch" operator: "Equal" @@ -153,6 +162,15 @@ spec: generic: true listeners: [replication] synapse: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: + - worker-2 tolerations: - key: "arch" operator: "Equal"