blob: 5c42d72a01fc30d6b8c5ee27b208285e9ff69e88 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: dbhost
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006 labels:
7 app: appc-dbhost
8spec:
9 ports:
10 - name: "appc-dbhost-port"
11 port: 3306
12 selector:
13 app: appc-dbhost
14 clusterIP: None
15---
16apiVersion: v1
17kind: Service
18metadata:
19 name: sdnctldb01
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000020 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: appc-dbhost
23spec:
24 ports:
25 - port: 3306
26 selector:
27 app: appc-dbhost
28 clusterIP: None
29---
30apiVersion: v1
31kind: Service
32metadata:
33 name: sdnctldb02
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000034 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040035 labels:
36 app: appc-dbhost
37spec:
38 ports:
39 - port: 3306
40 selector:
41 app: appc-dbhost
42 clusterIP: None
43---
44apiVersion: v1
45kind: Service
46metadata:
47 name: sdnhost
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000048 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040049 labels:
50 app: appc
51spec:
52 ports:
53 - name: "appc-port-8282"
54 port: 8282
55 targetPort: 8181
kerenj78eff212017-08-29 09:56:36 +000056 nodePort: {{ .Values.nodePortPrefix }}30
Mandeep Khindad6ea9872017-06-24 11:49:37 -040057 - name: "appc-port-1830"
58 port: 1830
kerenj78eff212017-08-29 09:56:36 +000059 nodePort: {{ .Values.nodePortPrefix }}31
Mandeep Khindad6ea9872017-06-24 11:49:37 -040060 type: NodePort
61 selector:
62 app: appc
63---
64apiVersion: v1
65kind: Service
66metadata:
67 name: dgbuilder
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000068 namespace: "{{ .Values.nsPrefix }}-appc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040069 labels:
70 app: appc-dgbuilder
71spec:
72 ports:
73 - name: "appc-dgbuilder-port"
74 port: 3000
75 targetPort: 3100
kerenj78eff212017-08-29 09:56:36 +000076 nodePort: {{ .Values.nodePortPrefix }}28
Mandeep Khindad6ea9872017-06-24 11:49:37 -040077 type: NodePort
78 selector:
79 app: appc-dgbuilder