blob: 01f24a7dd2e849c4bb23f0c0dfebb6ed412cea1a [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableAaiHbase }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: hbase
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: hbase
9spec:
10 ports:
Mandeep Khinda4b881972017-08-30 14:24:02 +000011 - name: "hbase-port-1"
12 port: 2181
13 - name: "hbase-port-2"
14 port: 8080
15 - name: "hbase-port-3"
16 port: 8085
17 - name: "hbase-port-4"
18 port: 9090
19 - name: "hbase-port-5"
20 port: 16000
21 - name: "hbase-port-6"
22 port: 16010
23 - name: "hbase-port-7"
24 port: 16201
Mandeep Khindad6ea9872017-06-24 11:49:37 -040025 selector:
26 app: hbase
27 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030028#{{ end }}
29#{{ if not .Values.disableAaiAaiService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040030---
31apiVersion: v1
32kind: Service
33metadata:
34 name: aai-service
BorislavG8bfc6cf2018-02-27 15:04:26 +000035 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040036 labels:
37 app: aai-service
HuabingZhaod5101442017-09-01 15:55:22 +080038 annotations:
39 msb.onap.org/service-info: '[
40 {
41 "serviceName": "aai-cloudInfrastructure",
HuabingZhao69d846e2017-09-06 10:39:54 +080042 "version": "v11",
43 "url": "/aai/v11/cloud-infrastructure",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080044 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080045 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080046 "enable_ssl": true,
47 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +080048 },
49 {
50 "serviceName": "aai-cloudInfrastructure-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +080051 "version": "v11",
52 "url": "/aai/v11/cloud-infrastructure",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080053 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080054 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080055 "enable_ssl": true,
56 "visualRange": "1",
57 "path": "/aai/v11/cloud-infrastructure"
HuabingZhaod5101442017-09-01 15:55:22 +080058 },
59 {
60 "serviceName": "aai-business",
HuabingZhao69d846e2017-09-06 10:39:54 +080061 "version": "v11",
62 "url": "/aai/v11/business",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080063 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080064 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080065 "enable_ssl": true,
66 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +080067 },
68 {
69 "serviceName": "aai-business-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +080070 "version": "v11",
71 "url": "/aai/v11/business",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080072 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080073 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080074 "enable_ssl": true,
75 "visualRange": "1",
76 "path": "/aai/v11/business"
HuabingZhaod5101442017-09-01 15:55:22 +080077 },
78 {
79 "serviceName": "aai-search",
HuabingZhao69d846e2017-09-06 10:39:54 +080080 "version": "v11",
81 "url": "/aai/v11/search",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080082 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080083 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080084 "enable_ssl": true,
85 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +080086 },
87 {
88 "serviceName": "aai-search-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +080089 "version": "v11",
90 "url": "/aai/v11/search",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080091 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +080092 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +080093 "enable_ssl": true,
94 "visualRange": "1",
95 "path": "/aai/v11/search"
HuabingZhaod5101442017-09-01 15:55:22 +080096 },
97 {
98 "serviceName": "aai-actions",
HuabingZhao69d846e2017-09-06 10:39:54 +080099 "version": "v11",
100 "url": "/aai/v11/actions",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800101 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800102 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800103 "enable_ssl": true,
104 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +0800105 },
106 {
107 "serviceName": "aai-actions-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +0800108 "version": "v11",
109 "url": "/aai/v11/actions",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800110 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800111 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800112 "enable_ssl": true,
113 "visualRange": "1",
114 "path": "/aai/v11/actions"
HuabingZhaod5101442017-09-01 15:55:22 +0800115 },
116 {
117 "serviceName": "aai-service-design-and-creation",
HuabingZhao69d846e2017-09-06 10:39:54 +0800118 "version": "v11",
119 "url": "/aai/v11/service-design-and-creation",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800120 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800121 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800122 "enable_ssl": true,
123 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +0800124 },
125 {
126 "serviceName": "aai-service-design-and-creation-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +0800127 "version": "v11",
128 "url": "/aai/v11/service-design-and-creation",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800129 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800130 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800131 "enable_ssl": true,
132 "visualRange": "1",
133 "path": "/aai/v11/service-design-and-creation"
HuabingZhaod5101442017-09-01 15:55:22 +0800134 },
135 {
136 "serviceName": "aai-network",
HuabingZhao69d846e2017-09-06 10:39:54 +0800137 "version": "v11",
138 "url": "/aai/v11/network",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800139 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800140 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800141 "enable_ssl": true,
142 "visualRange": "1"
HuabingZhaod5101442017-09-01 15:55:22 +0800143 },
144 {
145 "serviceName": "aai-network-deprecated",
HuabingZhao69d846e2017-09-06 10:39:54 +0800146 "version": "v11",
147 "url": "/aai/v11/network",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800148 "protocol": "REST",
HuabingZhaod5101442017-09-01 15:55:22 +0800149 "port": "8443",
HuabingZhaoaaa5c572017-12-25 14:16:04 +0800150 "enable_ssl": true,
151 "visualRange": "1",
152 "path": "/aai/v11/network"
LiZi678ae0e2017-12-28 03:20:18 -0500153 },
154 {
155 "serviceName": "aai-externalSystem",
156 "version": "v11",
157 "url": "/aai/v11/external-system",
158 "protocol": "REST",
159 "port": "8443",
160 "enable_ssl": true,
161 "visualRange": "1"
162 },
163 {
164 "serviceName": "aai-externalSystem-deprecated",
165 "version": "v11",
166 "url": "/aai/v11/external-system",
167 "protocol": "REST",
168 "port": "8443",
169 "enable_ssl": true,
170 "visualRange": "1",
171 "path": "/aai/v11/external-system"
HuabingZhao69d846e2017-09-06 10:39:54 +0800172 }
HuabingZhaod5101442017-09-01 15:55:22 +0800173 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400174spec:
175 ports:
176 - name: "aai-service-port-8443"
177 port: 8443
178 targetPort: 8443
kerenj78eff212017-08-29 09:56:36 +0000179 nodePort: {{ .Values.nodePortPrefix }}33
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400180 - name: "aai-service-port-8080"
181 port: 8080
182 targetPort: 8080
kerenj78eff212017-08-29 09:56:36 +0000183 nodePort: {{ .Values.nodePortPrefix }}32
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400184 type: NodePort
185 selector:
186 app: aai-service
Alexis de Talhouƫtdf4db0b2017-12-11 08:36:25 -0500187 clusterIP: {{ .Values.aaiServiceClusterIp }}
yurynfcef9942017-10-26 17:10:50 +0300188#{{ end }}
189#{{ if not .Values.disableAaiModelLoaderService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400190---
191apiVersion: v1
192kind: Service
193metadata:
194 name: model-loader-service
BorislavG8bfc6cf2018-02-27 15:04:26 +0000195 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400196 labels:
197 app: model-loader-service
198spec:
199 ports:
200 - name: "model-loader-service-port-8443"
201 port: 8443
kerenj78eff212017-08-29 09:56:36 +0000202 nodePort: {{ .Values.nodePortPrefix }}29
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400203 - name: "model-loader-service-port-8080"
204 port: 8080
kerenj78eff212017-08-29 09:56:36 +0000205 nodePort: {{ .Values.nodePortPrefix }}10
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400206 type: NodePort
207 selector:
208 app: model-loader-service
yurynfcef9942017-10-26 17:10:50 +0300209#{{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000210---
211apiVersion: v1
212kind: Service
213metadata:
214 name: gremlin
BorislavG8bfc6cf2018-02-27 15:04:26 +0000215 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000216 labels:
217 app: gremlin
218spec:
219 ports:
220 - name: "gremlin-port"
221 port: 8182
222 selector:
223 app: gremlin
224 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300225#{{ if not .Values.disableAaiElasticsearch }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000226---
227apiVersion: v1
228kind: Service
229metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000230 name: aai-elasticsearch
231 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000232 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000233 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +0000234spec:
235 ports:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000236 - name: "aai-elasticsearch-port"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000237 port: 9200
238 selector:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000239 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +0000240 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300241#{{ end }}
242#{{ if not .Values.disableAaiSearchDataService }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000243---
244apiVersion: v1
245kind: Service
246metadata:
247 name: search-data-service
BorislavG8bfc6cf2018-02-27 15:04:26 +0000248 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000249 labels:
250 app: search-data-service
251spec:
252 ports:
253 - name: "search-data-service-port-9509"
254 port: 9509
255 selector:
256 app: search-data-service
257 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300258#{{ end }}
259#{{ if not .Values.disableAaiAaiTraversal }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000260---
261apiVersion: v1
262kind: Service
263metadata:
Mandeep Khinda4b881972017-08-30 14:24:02 +0000264 name: aai-traversal
BorislavG8bfc6cf2018-02-27 15:04:26 +0000265 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000266 labels:
267 app: aai-traversal
268spec:
269 ports:
270 - name: "aai-traversal-port-8446"
271 port: 8446
272 - name: aai-traversal-port-debug
273 port: 5005
274 selector:
275 app: aai-traversal
276 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300277#{{ end }}
278#{{ if not .Values.disableAaiAaiResources }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000279---
280apiVersion: v1
281kind: Service
282metadata:
283 name: aai-resources
BorislavG8bfc6cf2018-02-27 15:04:26 +0000284 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000285 labels:
286 app: aai-resources
287spec:
288 ports:
289 - name: "aai-resources-port-8447"
290 port: 8447
291 - name: aai-resources-port-debug
292 port: 5005
293 selector:
294 app: aai-resources
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000295 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300296#{{ end }}
297#{{ if not .Values.disableAaiSparkyBe }}
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000298---
299apiVersion: v1
300kind: Service
301metadata:
302 name: sparky-be
BorislavG8bfc6cf2018-02-27 15:04:26 +0000303 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000304 labels:
305 app: sparky-be
306spec:
307 ports:
308 - name: "sparky-be-port-9517"
309 port: 9517
310 selector:
311 app: sparky-be
yurynfcef9942017-10-26 17:10:50 +0300312 clusterIP: None
BorislavG8bfc6cf2018-02-27 15:04:26 +0000313#{{ end }}