cluster

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

commit 668dcc6d44a7fb0fc095d4479c9f08bd3fe96b94
parent 1aac92e0a3cb6f16479fb408e59c129f829f63f6
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 28 Oct 2023 13:04:25 +0200

Use arm runners for db and use antiaffinity

Diffstat:
Mapps/production/postgres-operator-values.yaml | 7+++++++
Minfrastructure/configs/postgres-clusters.yaml | 10+++++-----
2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/apps/production/postgres-operator-values.yaml b/apps/production/postgres-operator-values.yaml @@ -42,3 +42,10 @@ spec: - secretName: postgres-ui.midnightthoughts.space-tls hosts: - postgres-ui.midnightthoughts.space + configKubernetes: + enable_pod_antiaffinity: true + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" diff --git a/infrastructure/configs/postgres-clusters.yaml b/infrastructure/configs/postgres-clusters.yaml @@ -12,11 +12,11 @@ metadata: name: matrix-postgres-cluster namespace: matrix-postgres-cluster spec: - #tolerations: - # - key: "arch" - # operator: "Equal" - # value: "arm64" - # effect: "NoSchedule" + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" enableShmVolume: true databases: synapse: synapse