blob: df7e3567d077c026d4098ee70dc9ba90e273174b [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
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-aai"
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
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000035 namespace: "{{ .Values.nsPrefix }}-aai"
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080046 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +080047 "visualRange":"1"
48 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080055 "enable_ssl":"True",
56 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +080057 "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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080065 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +080066 "visualRange":"1"
67 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080074 "enable_ssl":"True",
75 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +080076 "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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080084 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +080085 "visualRange":"1"
86 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +080093 "enable_ssl":"True",
94 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +080095 "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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800103 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +0800104 "visualRange":"1"
105 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800112 "enable_ssl":"True",
113 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +0800114 "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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800122 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +0800123 "visualRange":"1"
124 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800131 "enable_ssl":"True",
132 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +0800133 "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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800141 "enable_ssl":"True",
HuabingZhaod5101442017-09-01 15:55:22 +0800142 "visualRange":"1"
143 },
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",
HuabingZhaoc8e54f12017-09-05 16:14:14 +0800150 "enable_ssl":"True",
151 "visualRange":"1",
HuabingZhao69d846e2017-09-06 10:39:54 +0800152 "path":"/aai/v11/network"
153 }
HuabingZhaod5101442017-09-01 15:55:22 +0800154 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400155spec:
156 ports:
157 - name: "aai-service-port-8443"
158 port: 8443
159 targetPort: 8443
kerenj78eff212017-08-29 09:56:36 +0000160 nodePort: {{ .Values.nodePortPrefix }}33
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400161 - name: "aai-service-port-8080"
162 port: 8080
163 targetPort: 8080
kerenj78eff212017-08-29 09:56:36 +0000164 nodePort: {{ .Values.nodePortPrefix }}32
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400165 type: NodePort
166 selector:
167 app: aai-service
yurynfcef9942017-10-26 17:10:50 +0300168#{{ end }}
169#{{ if not .Values.disableAaiModelLoaderService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400170---
171apiVersion: v1
172kind: Service
173metadata:
174 name: model-loader-service
Mandeep Khinda0e8f8892017-08-25 03:31:17 +0000175 namespace: "{{ .Values.nsPrefix }}-aai"
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400176 labels:
177 app: model-loader-service
178spec:
179 ports:
180 - name: "model-loader-service-port-8443"
181 port: 8443
kerenj78eff212017-08-29 09:56:36 +0000182 nodePort: {{ .Values.nodePortPrefix }}29
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400183 - name: "model-loader-service-port-8080"
184 port: 8080
kerenj78eff212017-08-29 09:56:36 +0000185 nodePort: {{ .Values.nodePortPrefix }}10
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400186 type: NodePort
187 selector:
188 app: model-loader-service
yurynfcef9942017-10-26 17:10:50 +0300189#{{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000190---
191apiVersion: v1
192kind: Service
193metadata:
194 name: gremlin
195 namespace: "{{ .Values.nsPrefix }}-aai"
196 labels:
197 app: gremlin
198spec:
199 ports:
200 - name: "gremlin-port"
201 port: 8182
202 selector:
203 app: gremlin
204 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300205#{{ if not .Values.disableAaiElasticsearch }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000206---
207apiVersion: v1
208kind: Service
209metadata:
210 name: elasticsearch
211 namespace: "{{ .Values.nsPrefix }}-aai"
212 labels:
213 app: elasticsearch
214spec:
215 ports:
216 - name: "elasticsearch-port"
217 port: 9200
218 selector:
219 app: elasticsearch
220 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300221#{{ end }}
222#{{ if not .Values.disableAaiSearchDataService }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000223---
224apiVersion: v1
225kind: Service
226metadata:
227 name: search-data-service
228 namespace: "{{ .Values.nsPrefix }}-aai"
229 labels:
230 app: search-data-service
231spec:
232 ports:
233 - name: "search-data-service-port-9509"
234 port: 9509
235 selector:
236 app: search-data-service
237 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300238#{{ end }}
239#{{ if not .Values.disableAaiAaiTraversal }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000240---
241apiVersion: v1
242kind: Service
243metadata:
Mandeep Khinda4b881972017-08-30 14:24:02 +0000244 name: aai-traversal
245 namespace: "{{ .Values.nsPrefix }}-aai"
246 labels:
247 app: aai-traversal
248spec:
249 ports:
250 - name: "aai-traversal-port-8446"
251 port: 8446
252 - name: aai-traversal-port-debug
253 port: 5005
254 selector:
255 app: aai-traversal
256 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300257#{{ end }}
258#{{ if not .Values.disableAaiAaiResources }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000259---
260apiVersion: v1
261kind: Service
262metadata:
263 name: aai-resources
264 namespace: "{{ .Values.nsPrefix }}-aai"
265 labels:
266 app: aai-resources
267spec:
268 ports:
269 - name: "aai-resources-port-8447"
270 port: 8447
271 - name: aai-resources-port-debug
272 port: 5005
273 selector:
274 app: aai-resources
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000275 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300276#{{ end }}
277#{{ if not .Values.disableAaiSparkyBe }}
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000278---
279apiVersion: v1
280kind: Service
281metadata:
282 name: sparky-be
283 namespace: "{{ .Values.nsPrefix }}-aai"
284 labels:
285 app: sparky-be
286spec:
287 ports:
288 - name: "sparky-be-port-9517"
289 port: 9517
290 selector:
291 app: sparky-be
yurynfcef9942017-10-26 17:10:50 +0300292 clusterIP: None
293#{{ end }}