summaryrefslogtreecommitdiffstats
path: root/templates/all-services.yaml
blob: 01f24a7dd2e849c4bb23f0c0dfebb6ed412cea1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
#{{ if not .Values.disableAaiHbase }}
apiVersion: v1
kind: Service
metadata:
  name: hbase
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: hbase
spec:
  ports:
  - name: "hbase-port-1"
    port: 2181
  - name: "hbase-port-2"
    port: 8080
  - name: "hbase-port-3"
    port: 8085
  - name: "hbase-port-4"
    port: 9090
  - name: "hbase-port-5"
    port: 16000
  - name: "hbase-port-6"
    port: 16010
  - name: "hbase-port-7"
    port: 16201
  selector:
    app: hbase
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableAaiAaiService }}
---
apiVersion: v1
kind: Service
metadata:
  name: aai-service
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: aai-service
  annotations:
    msb.onap.org/service-info: '[
      {
          "serviceName": "aai-cloudInfrastructure",
          "version": "v11",
          "url": "/aai/v11/cloud-infrastructure",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-cloudInfrastructure-deprecated",
          "version": "v11",
          "url": "/aai/v11/cloud-infrastructure",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/cloud-infrastructure"
      },
      {
          "serviceName": "aai-business",
          "version": "v11",
          "url": "/aai/v11/business",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-business-deprecated",
          "version": "v11",
          "url": "/aai/v11/business",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/business"
      },
      {
          "serviceName": "aai-search",
          "version": "v11",
          "url": "/aai/v11/search",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-search-deprecated",
          "version": "v11",
          "url": "/aai/v11/search",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/search"
      },
      {
          "serviceName": "aai-actions",
          "version": "v11",
          "url": "/aai/v11/actions",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-actions-deprecated",
          "version": "v11",
          "url": "/aai/v11/actions",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/actions"
      },
      {
          "serviceName": "aai-service-design-and-creation",
          "version": "v11",
          "url": "/aai/v11/service-design-and-creation",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-service-design-and-creation-deprecated",
          "version": "v11",
          "url": "/aai/v11/service-design-and-creation",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/service-design-and-creation"
      },
      {
          "serviceName": "aai-network",
          "version": "v11",
          "url": "/aai/v11/network",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-network-deprecated",
          "version": "v11",
          "url": "/aai/v11/network",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/network"
      },
      {
          "serviceName": "aai-externalSystem",
          "version": "v11",
          "url": "/aai/v11/external-system",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1"
      },
      {
          "serviceName": "aai-externalSystem-deprecated",
          "version": "v11",
          "url": "/aai/v11/external-system",
          "protocol": "REST",
          "port": "8443",
          "enable_ssl": true,
          "visualRange": "1",
          "path": "/aai/v11/external-system"
      }
      ]'
spec:
  ports:
  - name: "aai-service-port-8443"
    port: 8443
    targetPort: 8443
    nodePort: {{ .Values.nodePortPrefix }}33
  - name: "aai-service-port-8080"
    port: 8080
    targetPort: 8080
    nodePort: {{ .Values.nodePortPrefix }}32
  type: NodePort
  selector:
    app: aai-service
  clusterIP: {{ .Values.aaiServiceClusterIp }}
#{{ end }}
#{{ if not .Values.disableAaiModelLoaderService }}
---
apiVersion: v1
kind: Service
metadata:
  name: model-loader-service
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: model-loader-service
spec:
  ports:
  - name: "model-loader-service-port-8443"
    port: 8443
    nodePort: {{ .Values.nodePortPrefix }}29
  - name: "model-loader-service-port-8080"
    port: 8080
    nodePort: {{ .Values.nodePortPrefix }}10
  type: NodePort
  selector:
    app: model-loader-service
#{{ end }}
---
apiVersion: v1
kind: Service
metadata:
  name: gremlin
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: gremlin
spec:
  ports:
  - name: "gremlin-port"
    port: 8182
  selector:
    app: gremlin
  clusterIP: None
#{{ if not .Values.disableAaiElasticsearch }}
---
apiVersion: v1
kind: Service
metadata:
  name: aai-elasticsearch
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: aai-elasticsearch
spec:
  ports:
  - name: "aai-elasticsearch-port"
    port: 9200
  selector:
    app: aai-elasticsearch
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableAaiSearchDataService }}
---
apiVersion: v1
kind: Service
metadata:
  name: search-data-service
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: search-data-service
spec:
  ports:
  - name: "search-data-service-port-9509"
    port: 9509
  selector:
    app: search-data-service
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableAaiAaiTraversal }}
---
apiVersion: v1
kind: Service
metadata:
  name: aai-traversal
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: aai-traversal
spec:
  ports:
  - name: "aai-traversal-port-8446"
    port: 8446
  - name: aai-traversal-port-debug
    port: 5005
  selector:
    app: aai-traversal
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableAaiAaiResources }}
---
apiVersion: v1
kind: Service
metadata:
  name: aai-resources
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: aai-resources
spec:
  ports:
  - name: "aai-resources-port-8447"
    port: 8447
  - name: aai-resources-port-debug
    port: 5005
  selector:
    app: aai-resources
  clusterIP: None
#{{ end }}
#{{ if not .Values.disableAaiSparkyBe }}
---
apiVersion: v1
kind: Service
metadata:
  name: sparky-be
  namespace: "{{ .Values.nsPrefix }}"
  labels:
    app: sparky-be
spec:
  ports:
  - name: "sparky-be-port-9517"
    port: 9517
  selector:
    app: sparky-be
  clusterIP: None
#{{ end }}