cluster

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

commit 25efe3d396f6e3f6b16f58866c6055d142f1f63d
parent 65cb5e3eca205818d1442e685871a2533d5571b9
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat,  1 Apr 2023 16:13:51 +0200

manage postgres matrix cluster via fluxcd

Diffstat:
Minfrastructure/configs/kustomization.yaml | 1+
Ainfrastructure/configs/postgres-clusters.yaml | 34++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/infrastructure/configs/kustomization.yaml b/infrastructure/configs/kustomization.yaml @@ -4,3 +4,4 @@ resources: - cluster-issuers.yaml - flux-grafana.yaml - priority-classes.yaml + - postgres-clusters.yaml diff --git a/infrastructure/configs/postgres-clusters.yaml b/infrastructure/configs/postgres-clusters.yaml @@ -0,0 +1,33 @@ +--- +apiVersion: acid.zalan.do/v1 +kind: postgresql +metadata: + labels: + team: matrix + name: matrix + namespace: matrix +spec: + allowedSourceRanges: [] + databases: + synapse: synapse + enableConnectionPooler: true + enableReplicaConnectionPooler: true + numberOfInstances: 2 + postgresql: + version: '15' + parameters: + password_encryption: scram-sha-256 + resources: + limits: + cpu: 500m + memory: 500Mi + requests: + cpu: 100m + memory: 100Mi + teamId: matrix + users: + synapse: [] + volume: + iops: 3000 + size: 10Gi + throughput: 125 +\ No newline at end of file