Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: zookeeper | ||||
5 | labels: | ||||
6 | app: zookeeper | ||||
7 | spec: | ||||
8 | ports: | ||||
9 | - name: zookeeper1 | ||||
10 | port: 2181 | ||||
11 | selector: | ||||
12 | app: zookeeper | ||||
13 | clusterIP: None | ||||
14 | --- | ||||
15 | apiVersion: v1 | ||||
16 | kind: Service | ||||
17 | metadata: | ||||
18 | name: global-kafka | ||||
19 | labels: | ||||
20 | app: global-kafka | ||||
21 | spec: | ||||
22 | ports: | ||||
23 | - name: kafka1 | ||||
24 | port: 9092 | ||||
25 | selector: | ||||
26 | app: global-kafka | ||||
27 | clusterIP: None | ||||
28 | --- | ||||
29 | apiVersion: v1 | ||||
30 | kind: Service | ||||
31 | metadata: | ||||
32 | name: dmaap | ||||
33 | labels: | ||||
34 | app: dmaap | ||||
35 | version: 1.0.0 | ||||
36 | spec: | ||||
37 | ports: | ||||
38 | - name: mr1 | ||||
39 | port: 3904 | ||||
40 | nodePort: 30227 | ||||
41 | - name: mr2 | ||||
42 | port: 3905 | ||||
43 | nodePort: 30226 | ||||
44 | selector: | ||||
45 | app: dmaap | ||||
46 | type: NodePort |