Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: dbhost | ||||
5 | labels: | ||||
6 | app: sdnc-dbhost | ||||
7 | spec: | ||||
8 | ports: | ||||
9 | - port: 3306 | ||||
10 | selector: | ||||
11 | app: sdnc-dbhost | ||||
12 | clusterIP: None | ||||
13 | --- | ||||
14 | apiVersion: v1 | ||||
15 | kind: Service | ||||
16 | metadata: | ||||
17 | name: sdnctldb01 | ||||
18 | labels: | ||||
19 | app: sdnc-dbhost | ||||
20 | spec: | ||||
21 | ports: | ||||
22 | - port: 3306 | ||||
23 | selector: | ||||
24 | app: sdnc-dbhost | ||||
25 | clusterIP: None | ||||
26 | --- | ||||
27 | apiVersion: v1 | ||||
28 | kind: Service | ||||
29 | metadata: | ||||
30 | name: sdnctldb02 | ||||
31 | labels: | ||||
32 | app: sdnc-dbhost | ||||
33 | spec: | ||||
34 | ports: | ||||
35 | - port: 3306 | ||||
36 | selector: | ||||
37 | app: sdnc-dbhost | ||||
38 | clusterIP: None | ||||
39 | --- | ||||
40 | apiVersion: v1 | ||||
41 | kind: Service | ||||
42 | metadata: | ||||
43 | name: sdnc-dgbuilder | ||||
44 | labels: | ||||
45 | app: sdnc-dgbuilder | ||||
46 | spec: | ||||
47 | ports: | ||||
48 | - name: "sdnc-dgbuilder-port" | ||||
49 | port: 3000 | ||||
50 | targetPort: 3100 | ||||
51 | nodePort: 30203 | ||||
52 | type: NodePort | ||||
53 | selector: | ||||
54 | app: sdnc-dgbuilder | ||||
55 | --- | ||||
56 | apiVersion: v1 | ||||
57 | kind: Service | ||||
58 | metadata: | ||||
59 | name: sdnhost | ||||
60 | labels: | ||||
61 | app: sdnc | ||||
62 | spec: | ||||
63 | ports: | ||||
64 | - name: "sdnc-port" | ||||
65 | port: 8282 | ||||
66 | targetPort: 8181 | ||||
67 | nodePort: 30202 | ||||
68 | type: NodePort | ||||
69 | selector: | ||||
70 | app: sdnc | ||||
71 | --- | ||||
72 | apiVersion: v1 | ||||
73 | kind: Service | ||||
74 | metadata: | ||||
75 | name: sdnc-portal | ||||
76 | labels: | ||||
77 | app: sdnc-portal | ||||
78 | spec: | ||||
79 | ports: | ||||
80 | - name: "sdnc-portal-port" | ||||
81 | port: 8843 | ||||
82 | nodePort: 30201 | ||||
83 | type: NodePort | ||||
84 | selector: | ||||
85 | app: sdnc-portal |