mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: postgres16 3 instances
This commit is contained in:
@@ -4,7 +4,7 @@ kind: Cluster
|
|||||||
metadata:
|
metadata:
|
||||||
name: postgres16
|
name: postgres16
|
||||||
spec:
|
spec:
|
||||||
instances: 4 # set to the number of nodes in the cluster
|
instances: 3 # set to the number of nodes in the cluster
|
||||||
imageName: ghcr.io/cloudnative-pg/postgresql:16.2-10
|
imageName: ghcr.io/cloudnative-pg/postgresql:16.2-10
|
||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
storage:
|
storage:
|
||||||
@@ -41,7 +41,7 @@ spec:
|
|||||||
endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
|
endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
|
||||||
# Note: serverName version needs to be inclemented
|
# Note: serverName version needs to be inclemented
|
||||||
# when recovering from an existing cnpg cluster
|
# when recovering from an existing cnpg cluster
|
||||||
serverName: postgres16-v3
|
serverName: postgres16-v4
|
||||||
s3Credentials:
|
s3Credentials:
|
||||||
accessKeyId:
|
accessKeyId:
|
||||||
name: cloudnative-pg-secret
|
name: cloudnative-pg-secret
|
||||||
@@ -53,9 +53,9 @@ spec:
|
|||||||
# # cluster when recovering from an existing cnpg cluster
|
# # cluster when recovering from an existing cnpg cluster
|
||||||
# bootstrap:
|
# bootstrap:
|
||||||
# recovery:
|
# recovery:
|
||||||
# source: postgres16-v2
|
# source: postgres16-v3
|
||||||
# externalClusters:
|
# externalClusters:
|
||||||
# - name: postgres16-v2
|
# - name: postgres16-v3
|
||||||
# barmanObjectStore:
|
# barmanObjectStore:
|
||||||
# destinationPath: s3://postgresql/
|
# destinationPath: s3://postgresql/
|
||||||
# endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
|
# endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
|
||||||
|
Reference in New Issue
Block a user