summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/pgpool/templates/service.yaml
diff options
context:
space:
mode:
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