diff --git a/apps/matrix-postgresql/cluster/cluster.yaml b/apps/matrix-postgresql/cluster/cluster.yaml index 6444ea5..bd46702 100644 --- a/apps/matrix-postgresql/cluster/cluster.yaml +++ b/apps/matrix-postgresql/cluster/cluster.yaml @@ -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