Make Matrix PostgreSQL survive a node outage

This commit is contained in:
feedc0de committed 2026-12-01 09:40:50 +01:00
1 parent 1224bacc5d
commit a9aaa05789
1 file changed
+2 -8
+2 -8
View File
@@ -4,20 +4,14 @@ metadata:
name: matrix-cnpg
namespace: matrix
spec:
instances: 1
instances: 3
enableSuperuserAccess: true
imageName: ghcr.io/cloudnative-pg/postgresql:18.6-standard-trixie
postgresql:
parameters:
max_wal_size: 8GB
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values: [odroid-h3-00]
podAntiAffinityType: required
storage:
size: 200Gi
storageClass: rook-ceph-block