Skip to content

Commit 072bf71

Browse files
author
jmccormick2001
committed
update pgpool conf with settings change for better handling of replica stopping
1 parent b09b32c commit 072bf71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

conf/apiserver/pgo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ Pgo:
4141
Metrics: false
4242
LSPVCTemplate: /config/pgo.lspvc-template.json
4343
LoadTemplate: /config/pgo.load-template.json
44-
COImagePrefix: crunchydata
45-
COImageTag: centos7-2.6
44+
COImagePrefix: kubeadm-master:5000/crunchydata
45+
COImageTag: centos7-2.6-rc2

conf/postgres-operator/cluster/1/pgpool.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ pcp_socket_dir = '/tmp'
5555
backend_hostname0 = '{{.PG_PRIMARY_SERVICE_NAME}}'
5656
backend_port0 = 5432
5757
backend_weight0= 1
58-
backend_flag0= 'DISALLOW_TO_FAILOVER'
58+
backend_flag0= 'ALLOW_TO_FAILOVER'
5959

6060
backend_hostname1 = '{{.PG_REPLICA_SERVICE_NAME}}'
6161
backend_port1 = 5432
6262
backend_weight1= 1
63-
backend_flag1= 'DISALLOW_TO_FAILOVER'
63+
backend_flag1= 'ALLOW_TO_FAILOVER'
6464

6565
#backend_hostname0 = 'master'
6666
# Host name or IP address to connect to for backend 0

0 commit comments

Comments
 (0)