🧱 cloudnative-pg cluster reset

This commit is contained in:
auricom
2023-07-31 20:49:48 +02:00
parent 98c553960c
commit b4784fc12f

View File

@@ -7,7 +7,7 @@ metadata:
annotations: annotations:
kyverno.io/ignore: "true" kyverno.io/ignore: "true"
spec: spec:
instances: 2 instances: 3
primaryUpdateStrategy: unsupervised primaryUpdateStrategy: unsupervised
storage: storage:
size: 50Gi size: 50Gi
@@ -24,7 +24,7 @@ spec:
maxParallel: 8 maxParallel: 8
destinationPath: s3://postgresql/ destinationPath: s3://postgresql/
endpointURL: https://truenas.${SECRET_DOMAIN}:51515 endpointURL: https://truenas.${SECRET_DOMAIN}:51515
serverName: postgres-v7 serverName: postgres-v8
s3Credentials: s3Credentials:
accessKeyId: accessKeyId:
name: cloudnative-pg-secret name: cloudnative-pg-secret
@@ -35,17 +35,17 @@ spec:
# bootstrap: # bootstrap:
# recovery: # recovery:
# source: postgres-v6 # source: postgres-v6
externalClusters: # externalClusters:
- name: postgres-v6 # - name: postgres-v6
barmanObjectStore: # barmanObjectStore:
destinationPath: s3://postgresql/ # destinationPath: s3://postgresql/
endpointURL: https://truenas.${SECRET_DOMAIN}:51515 # endpointURL: https://truenas.${SECRET_DOMAIN}:51515
s3Credentials: # s3Credentials:
accessKeyId: # accessKeyId:
name: postgres-minio # name: postgres-minio
key: MINIO_ACCESS_KEY # key: MINIO_ACCESS_KEY
secretAccessKey: # secretAccessKey:
name: postgres-minio # name: postgres-minio
key: MINIO_SECRET_KEY # key: MINIO_SECRET_KEY
wal: # wal:
maxParallel: 8 # maxParallel: 8