blob: da6fee117d802a84fc1062ec0be06efb539848bc [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
yurynfcef9942017-10-26 17:10:50 +030015#{{ if not .Values.disableMessageRouterZookeeper }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040016apiVersion: v1
17kind: Service
18metadata:
19 name: zookeeper
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: zookeeper
23spec:
24 ports:
25 - name: zookeeper1
26 port: 2181
27 selector:
28 app: zookeeper
29 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030030#{{ end }}
31#{{ if not .Values.disableMessageRouterGlobalKafka }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040032---
33apiVersion: v1
34kind: Service
35metadata:
36 name: global-kafka
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040038 labels:
39 app: global-kafka
40spec:
41 ports:
42 - name: kafka1
43 port: 9092
44 selector:
45 app: global-kafka
46 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030047#{{ end }}
48#{{ if not .Values.disableMessageRouterDmaap }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040049---
50apiVersion: v1
51kind: Service
52metadata:
53 name: dmaap
BorislavG8bfc6cf2018-02-27 15:04:26 +000054 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040055 labels:
56 app: dmaap
57 version: 1.0.0
HuabingZhaod5f7e842017-09-13 22:49:23 -040058 annotations:
59 msb.onap.org/service-info: '[
60 {
61 "serviceName": "message-router",
62 "version": "v1",
63 "url": "/",
64 "protocol": "REST",
65 "port": "3904",
66 "visualRange":"1"
67 }
68 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040069spec:
70 ports:
71 - name: mr1
72 port: 3904
kerenj78eff212017-08-29 09:56:36 +000073 nodePort: {{ .Values.nodePortPrefix }}27
Mandeep Khindad6ea9872017-06-24 11:49:37 -040074 - name: mr2
75 port: 3905
kerenj78eff212017-08-29 09:56:36 +000076 nodePort: {{ .Values.nodePortPrefix }}26
Mandeep Khindad6ea9872017-06-24 11:49:37 -040077 selector:
78 app: dmaap
79 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030080#{{ end }}