aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/all-services.yaml
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2017-08-23 13:35:43 +0000
committerkerenj <keren.joseph@amdocs.com>2017-08-23 13:35:51 +0000
commit9daad02ddb9e43ed7e2d1af271792369d24ae586 (patch)
treef3f25755c3182256c688ced71707d39b8e0c9d35 /kubernetes/sdnc/templates/all-services.yaml
parent9e77b21fc896b5018af2bfb27053a3273bfae31c (diff)
sdnc K8S-Helm Parameterization
changed sdnc k8s deployment to support helm parameterization. updated image to 1.1 Issue-ID: OOM-52 Change-Id: Ie9ec8f60c80caffc69637bf83043902eef45dc18 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/sdnc/templates/all-services.yaml')
-rw-r--r--kubernetes/sdnc/templates/all-services.yaml91
1 files changed, 91 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/all-services.yaml b/kubernetes/sdnc/templates/all-services.yaml
new file mode 100644
index 0000000000..af42db3063
--- /dev/null
+++ b/kubernetes/sdnc/templates/all-services.yaml
@@ -0,0 +1,91 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: dbhost
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc-dbhost
+spec:
+ ports:
+ - port: 3306
+ selector:
+ app: sdnc-dbhost
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: sdnctldb01
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc-dbhost
+spec:
+ ports:
+ - port: 3306
+ selector:
+ app: sdnc-dbhost
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: sdnctldb02
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc-dbhost
+spec:
+ ports:
+ - port: 3306
+ selector:
+ app: sdnc-dbhost
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: sdnc-dgbuilder
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc-dgbuilder
+spec:
+ ports:
+ - name: "sdnc-dgbuilder-port"
+ port: 3000
+ targetPort: 3100
+ nodePort: 30203
+ type: NodePort
+ selector:
+ app: sdnc-dgbuilder
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: sdnhost
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc
+spec:
+ ports:
+ - name: "sdnc-port"
+ port: 8282
+ targetPort: 8181
+ nodePort: 30202
+ type: NodePort
+ selector:
+ app: sdnc
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: sdnc-portal
+ namespace: {{ .Values.NS }}
+ labels:
+ app: sdnc-portal
+spec:
+ ports:
+ - name: "sdnc-portal-port"
+ port: 8843
+ nodePort: 30201
+ type: NodePort
+ selector:
+ app: sdnc-portal