aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-12-11 11:53:42 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-12-17 15:05:00 +0100
commit0b243b600f5c9c296189d66161a814396d648563 (patch)
tree59fc3d88a616ee582c51dd8a747c75e1e9ee6ffb /kubernetes/common/postgres/values.yaml
parent8501d7cee5a887f9e19d5fe3671ef8180bce526b (diff)
[COMMON] Use deployment for postgresql
Instead of statefulset + inner work in the container, use deployments in order to be more reliable Change-Id: Icf4fe1303ae3489c822558e28bb08b69af2d4970 Issue-ID: OOM-2234 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/common/postgres/values.yaml')
-rw-r--r--kubernetes/common/postgres/values.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/common/postgres/values.yaml b/kubernetes/common/postgres/values.yaml
index 8dd5d0aaac..3104ee79d2 100644
--- a/kubernetes/common/postgres/values.yaml
+++ b/kubernetes/common/postgres/values.yaml
@@ -104,14 +104,17 @@ persistence:
service:
type: ClusterIP
name: pgset
+ portName: tcp-postgres
externalPort: 5432
internalPort: 5432
type2: ClusterIP
- name2: pgset-primary
+ name2: tcp-pgset-primary
+ portName2: tcp-postgres
externalPort2: 5432
internalPort2: 5432
type3: ClusterIP
- name3: pgset-replica
+ name3: tcp-pgset-replica
+ portName3: tcp-postgres
externalPort3: 5432
internalPort3: 5432
@@ -136,4 +139,3 @@ resources: {}
# requests:
# cpu: 2
# memory: 4Gi
-