summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/pgpool/templates/service.yaml
diff options
context:
space:
mode:
authorJerome Doucerain <jerome.doucerain@bell.ca>2018-08-29 16:46:23 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-31 17:52:07 +0000
commit67746cc7b0a56e1afbcb05da0ec2a14e26961fe3 (patch)
treeb8df12427c24bf8e72fd4045218f548a519d883b /kubernetes/common/pgpool/templates/service.yaml
parent1b085c1fb1ebc09c535f0c29e12af902556c731c (diff)
Implement pgpool to front postgresql statefulset
Issue-ID: OOM-1355 Change-Id: Icbb5c723dce7d876c4fbffa5f5c4255cf680f9cc Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
Diffstat (limited to 'kubernetes/common/pgpool/templates/service.yaml')
-rw-r--r--kubernetes/common/pgpool/templates/service.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/common/pgpool/templates/service.yaml b/kubernetes/common/pgpool/templates/service.yaml
new file mode 100644
index 0000000000..0811fda593
--- /dev/null
+++ b/kubernetes/common/pgpool/templates/service.yaml
@@ -0,0 +1,14 @@
+kind: "Service"
+apiVersion: "v1"
+metadata:
+ name: "pgpool"
+ labels:
+ name: "pgpool"
+spec:
+ ports:
+ - protocol: "TCP"
+ port: 5432
+ targetPort: 5432
+ selector:
+ name: "pgpool"
+ type: ClusterIP