blob: e76a1d943172a23fbe55dcb2c80c9623a8221ba9 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMessageRouterZookeeper }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: zookeeper
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: zookeeper
9spec:
10 ports:
11 - name: zookeeper1
12 port: 2181
13 selector:
14 app: zookeeper
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableMessageRouterGlobalKafka }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: global-kafka
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000023 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040024 labels:
25 app: global-kafka
26spec:
27 ports:
28 - name: kafka1
29 port: 9092
30 selector:
31 app: global-kafka
32 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030033#{{ end }}
34#{{ if not .Values.disableMessageRouterDmaap }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040035---
36apiVersion: v1
37kind: Service
38metadata:
39 name: dmaap
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000040 namespace: "{{ .Values.nsPrefix }}-message-router"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040041 labels:
42 app: dmaap
43 version: 1.0.0
HuabingZhaod5f7e842017-09-13 22:49:23 -040044 annotations:
45 msb.onap.org/service-info: '[
46 {
47 "serviceName": "message-router",
48 "version": "v1",
49 "url": "/",
50 "protocol": "REST",
51 "port": "3904",
52 "visualRange":"1"
53 }
54 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040055spec:
56 ports:
57 - name: mr1
58 port: 3904
kerenj78eff212017-08-29 09:56:36 +000059 nodePort: {{ .Values.nodePortPrefix }}27
Mandeep Khindad6ea9872017-06-24 11:49:37 -040060 - name: mr2
61 port: 3905
kerenj78eff212017-08-29 09:56:36 +000062 nodePort: {{ .Values.nodePortPrefix }}26
Mandeep Khindad6ea9872017-06-24 11:49:37 -040063 selector:
64 app: dmaap
65 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030066#{{ end }}