Make Matrix PostgreSQL survive a node outage
This commit is contained in:
1 parent
1224bacc5d
commit
a9aaa05789
1 file changed
+2
-8
@@ -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
|
||||
Reference in new issue
Block a user