blob: ef13b8e321c773d0114291b0ab7f606b0f12d890 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: zookeeper
5 labels:
6 app: zookeeper
7spec:
8 ports:
9 - name: zookeeper1
10 port: 2181
11 selector:
12 app: zookeeper
13 clusterIP: None
14---
15apiVersion: v1
16kind: Service
17metadata:
18 name: global-kafka
19 labels:
20 app: global-kafka
21spec:
22 ports:
23 - name: kafka1
24 port: 9092
25 selector:
26 app: global-kafka
27 clusterIP: None
28---
29apiVersion: v1
30kind: Service
31metadata:
32 name: dmaap
33 labels:
34 app: dmaap
35 version: 1.0.0
36spec:
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