Better Database Replication
This commit is contained in:
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: postgres-cn-cluster
|
name: postgres-cn-cluster
|
||||||
namespace: ${KUBE_NAMESPACE}
|
namespace: ${KUBE_NAMESPACE}
|
||||||
spec:
|
spec:
|
||||||
instances: 1
|
instances: 3
|
||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
imageName: ghcr.io/cloudnative-pg/postgresql:14.10-18
|
imageName: ghcr.io/cloudnative-pg/postgresql:14.10-18
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
|
|
||||||
affinity:
|
affinity:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
${MASTER_NODE_LABEL}
|
${WORKER_NODE_LABEL}
|
||||||
|
|
||||||
monitoring:
|
monitoring:
|
||||||
enablePodMonitor: true
|
enablePodMonitor: true
|
||||||
|
|||||||
Reference in New Issue
Block a user