blob: 270aab9fc1a82e192ed3fae318bd661e63e9567a [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: vid-mariadb
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-vid"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006spec:
7 ports:
8 - name: vid-mariadb
9 port: 3306
10 selector:
11 app: vid-mariadb
12 clusterIP: None
13---
14apiVersion: v1
15kind: Service
16metadata:
17 labels:
18 app: vid-server
19 name: vid-server
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000020 namespace: "{{ .Values.nsPrefix }}-vid"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021spec:
22 ports:
23 - name: vid-server
kerenj78eff212017-08-29 09:56:36 +000024 nodePort: {{ .Values.nodePortPrefix }}00
Mandeep Khindad6ea9872017-06-24 11:49:37 -040025 port: 8080
26 selector:
27 app: vid-server
28 type: NodePort