blob: 8ce32acf91232782da6bdf8b9212d71bfa2ca41e [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: dbhost
5 labels:
6 app: appc-dbhost
7spec:
8 ports:
9 - name: "appc-dbhost-port"
10 port: 3306
11 selector:
12 app: appc-dbhost
13 clusterIP: None
14---
15apiVersion: v1
16kind: Service
17metadata:
18 name: sdnctldb01
19 labels:
20 app: appc-dbhost
21spec:
22 ports:
23 - port: 3306
24 selector:
25 app: appc-dbhost
26 clusterIP: None
27---
28apiVersion: v1
29kind: Service
30metadata:
31 name: sdnctldb02
32 labels:
33 app: appc-dbhost
34spec:
35 ports:
36 - port: 3306
37 selector:
38 app: appc-dbhost
39 clusterIP: None
40---
41apiVersion: v1
42kind: Service
43metadata:
44 name: sdnhost
45 labels:
46 app: appc
47spec:
48 ports:
49 - name: "appc-port-8282"
50 port: 8282
51 targetPort: 8181
52 nodePort: 30230
53 - name: "appc-port-1830"
54 port: 1830
55 nodePort: 30231
56 type: NodePort
57 selector:
58 app: appc
59---
60apiVersion: v1
61kind: Service
62metadata:
63 name: dgbuilder
64 labels:
65 app: appc-dgbuilder
66spec:
67 ports:
68 - name: "appc-dgbuilder-port"
69 port: 3000
70 targetPort: 3100
71 nodePort: 30228
72 type: NodePort
73 selector:
74 app: appc-dgbuilder