summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoxu <joanna.xu@amdocs.com>2018-09-18 18:07:28 +0000
committerjoxu <joanna.xu@amdocs.com>2018-09-18 18:20:38 +0000
commit8f3865e9860e6a5716ee31d0e2baaa281f55fce3 (patch)
tree8a5fffe44c22ee7f8efeaba7fc32becadc9f1b79
parent7ee017c736a7254882445090c2dfb800107a17c9 (diff)
Implement Postgres Cluster - Add pgpool
Issue-ID: OOM-1182 Change-Id: I1697eb42589c579668a1eeb8a1452dfd6eea0d16 Signed-off-by: joxu <joanna.xu@amdocs.com>
-rw-r--r--kubernetes/common/postgres/values.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/kubernetes/common/postgres/values.yaml b/kubernetes/common/postgres/values.yaml
index 7552d2490c..28ee64baba 100644
--- a/kubernetes/common/postgres/values.yaml
+++ b/kubernetes/common/postgres/values.yaml
@@ -30,7 +30,7 @@ busyboxRepository: registry.hub.docker.com
busyboxImage: library/busybox:latest
postgresRepository: crunchydata
-image: crunchy-postgres:centos7-10.3-1.8.2
+image: crunchy-postgres:centos7-10.4-2.0.0
pullPolicy: Always
# application configuration
@@ -46,6 +46,19 @@ container:
primary: pgset-primary
replica: pgset-replica
+pgpool:
+ container:
+ port: 5432
+ name:
+ primary: pgset-primary
+ replica: pgset-replica
+ credentials:
+ pgusername: testuser
+ pgpassword: password
+ service:
+ name: pgpool
+
+
# default number of instances
replicaCount: 2