blob: 418a3eda89756661faaba7ee4a6b8be9101d0655 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: zookeeper
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006 labels:
7 app: zookeeper
8spec:
9 ports:
10 - name: zookeeper1
11 port: 2181
12 selector:
13 app: zookeeper
14 clusterIP: None
15---
16apiVersion: v1
17kind: Service
18metadata:
19 name: global-kafka
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000020 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: global-kafka
23spec:
24 ports:
25 - name: kafka1
26 port: 9092
27 selector:
28 app: global-kafka
29 clusterIP: None
30---
31apiVersion: v1
32kind: Service
33metadata:
34 name: dmaap
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000035 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040036 labels:
37 app: dmaap
38 version: 1.0.0
HuabingZhaod5f7e842017-09-13 22:49:23 -040039 annotations:
40 msb.onap.org/service-info: '[
41 {
42 "serviceName": "message-router",
43 "version": "v1",
44 "url": "/",
45 "protocol": "REST",
46 "port": "3904",
47 "visualRange":"1"
48 }
49 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040050spec:
51 ports:
52 - name: mr1
53 port: 3904
kerenj78eff212017-08-29 09:56:36 +000054 nodePort: {{ .Values.nodePortPrefix }}27
Mandeep Khindad6ea9872017-06-24 11:49:37 -040055 - name: mr2
56 port: 3905
kerenj78eff212017-08-29 09:56:36 +000057 nodePort: {{ .Values.nodePortPrefix }}26
Mandeep Khindad6ea9872017-06-24 11:49:37 -040058 selector:
59 app: dmaap
60 type: NodePort