blob: 998f97d3bd50f456e88dd158dba863341fcb9913 [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.disableDcaeZookeeper }}
Mike Elliott586f03b2017-09-08 12:46:15 -040016apiVersion: v1
17kind: Service
18metadata:
19 name: zookeeper
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -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.disableDcaeKafka }}
Mike Elliott586f03b2017-09-08 12:46:15 -040032---
33apiVersion: v1
34kind: Service
35metadata:
36 name: kafka
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -040038 labels:
39 app: kafka
40spec:
41 ports:
42 - name: kafka1
43 port: 9092
44 selector:
45 app: kafka
46 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030047#{{ end }}
48#{{ if not .Values.disableDcaeDmaap }}
Mike Elliott586f03b2017-09-08 12:46:15 -040049---
50apiVersion: v1
51kind: Service
52metadata:
53 name: dmaap
BorislavG8bfc6cf2018-02-27 15:04:26 +000054 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -040055 labels:
56 app: dmaap
57 version: 1.1.0
58spec:
59 ports:
60 - name: mr1
61 port: 3904
62 #nodePort: {{ .Values.nodePortPrefix }}27
63 - name: mr2
64 port: 3905
65 #nodePort: {{ .Values.nodePortPrefix }}26
66 selector:
67 app: dmaap
68 #type: NodePort
69 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030070#{{ end }}
71#{{ if not .Values.disableDcaeDcaePgaas }}
Mike Elliott586f03b2017-09-08 12:46:15 -040072---
73apiVersion: v1
74kind: Service
75metadata:
76 name: zldciad4vipstg00
BorislavG8bfc6cf2018-02-27 15:04:26 +000077 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -040078 labels:
79 app: dcae-pgaas
80spec:
81 selector:
82 app: dcae-pgaas
83 ports:
84 - port: 5432
85 protocol: TCP
86 targetPort: 5432
87 nodePort: {{ .Values.nodePortPrefix }}45
88 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030089#{{ end }}
90#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
Mike Elliott586f03b2017-09-08 12:46:15 -040091---
92apiVersion: v1
93kind: Service
94metadata:
95 labels:
96 app: dcae-collector-common-event
97 version: latest
98 name: dcae-collector-common-event
BorislavG8bfc6cf2018-02-27 15:04:26 +000099 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -0400100spec:
101 ports:
102 - name: dcae-ce1
103 port: 8080
104 protocol: TCP
105 nodePort: {{ .Values.nodePortPrefix }}36
106 - name: dcae-ce2
107 port: 8443
108 protocol: TCP
109 nodePort: {{ .Values.nodePortPrefix }}37
110 - name: dcae-ce3
111 port: 9999
112 protocol: TCP
113 nodePort: {{ .Values.nodePortPrefix }}38
114 selector:
115 app: dcae-collector-common-event
116 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300117#{{ end }}
118#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
Mike Elliott586f03b2017-09-08 12:46:15 -0400119---
120apiVersion: v1
121kind: Service
122metadata:
123 labels:
124 app: dcae-collector-dmaapbc
125 version: latest
126 name: dcae-collector-dmaapbc
BorislavG8bfc6cf2018-02-27 15:04:26 +0000127 namespace: "{{ .Values.nsPrefix }}"
Mike Elliott586f03b2017-09-08 12:46:15 -0400128spec:
129 ports:
130 - name: dcae-bc1
131 port: 8080
132 protocol: TCP
133 targetPort: 8080
134 nodePort: {{ .Values.nodePortPrefix }}39
135 - name: dcae-bc2
136 port: 8443
137 protocol: TCP
138 targetPort: 8443
139 nodePort: {{ .Values.nodePortPrefix }}40
140 selector:
141 app: dcae-collector-dmaapbc
142 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300143#{{ end }}