blob: 39739de72385654b53609d3f848c5aaccdee1a0a [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.disableAaiHbase }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040016apiVersion: v1
17kind: Service
18metadata:
19 name: hbase
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: hbase
23spec:
24 ports:
Mandeep Khinda4b881972017-08-30 14:24:02 +000025 - name: "hbase-port-1"
26 port: 2181
27 - name: "hbase-port-2"
28 port: 8080
29 - name: "hbase-port-3"
30 port: 8085
31 - name: "hbase-port-4"
32 port: 9090
33 - name: "hbase-port-5"
34 port: 16000
35 - name: "hbase-port-6"
36 port: 16010
37 - name: "hbase-port-7"
38 port: 16201
Mandeep Khindad6ea9872017-06-24 11:49:37 -040039 selector:
40 app: hbase
41 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030042#{{ end }}
43#{{ if not .Values.disableAaiAaiService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040044---
45apiVersion: v1
46kind: Service
47metadata:
48 name: aai-service
BorislavG8bfc6cf2018-02-27 15:04:26 +000049 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040050 labels:
51 app: aai-service
52spec:
53 ports:
54 - name: "aai-service-port-8443"
55 port: 8443
56 targetPort: 8443
kerenj78eff212017-08-29 09:56:36 +000057 nodePort: {{ .Values.nodePortPrefix }}33
Mandeep Khindad6ea9872017-06-24 11:49:37 -040058 - name: "aai-service-port-8080"
59 port: 8080
60 targetPort: 8080
kerenj78eff212017-08-29 09:56:36 +000061 nodePort: {{ .Values.nodePortPrefix }}32
Mandeep Khindad6ea9872017-06-24 11:49:37 -040062 type: NodePort
63 selector:
64 app: aai-service
Alexis de Talhouëtdf4db0b2017-12-11 08:36:25 -050065 clusterIP: {{ .Values.aaiServiceClusterIp }}
yurynfcef9942017-10-26 17:10:50 +030066#{{ end }}
67#{{ if not .Values.disableAaiModelLoaderService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040068---
69apiVersion: v1
70kind: Service
71metadata:
72 name: model-loader-service
BorislavG8bfc6cf2018-02-27 15:04:26 +000073 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040074 labels:
75 app: model-loader-service
76spec:
77 ports:
78 - name: "model-loader-service-port-8443"
79 port: 8443
kerenj78eff212017-08-29 09:56:36 +000080 nodePort: {{ .Values.nodePortPrefix }}29
Mandeep Khindad6ea9872017-06-24 11:49:37 -040081 - name: "model-loader-service-port-8080"
82 port: 8080
kerenj78eff212017-08-29 09:56:36 +000083 nodePort: {{ .Values.nodePortPrefix }}10
Mandeep Khindad6ea9872017-06-24 11:49:37 -040084 type: NodePort
85 selector:
86 app: model-loader-service
yurynfcef9942017-10-26 17:10:50 +030087#{{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000088---
89apiVersion: v1
90kind: Service
91metadata:
92 name: gremlin
BorislavG8bfc6cf2018-02-27 15:04:26 +000093 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +000094 labels:
95 app: gremlin
96spec:
97 ports:
98 - name: "gremlin-port"
99 port: 8182
100 selector:
101 app: gremlin
102 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300103#{{ if not .Values.disableAaiElasticsearch }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000104---
105apiVersion: v1
106kind: Service
107metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000108 name: aai-elasticsearch
109 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000110 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000111 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +0000112spec:
113 ports:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000114 - name: "aai-elasticsearch-port"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000115 port: 9200
116 selector:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000117 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +0000118 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300119#{{ end }}
120#{{ if not .Values.disableAaiSearchDataService }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000121---
122apiVersion: v1
123kind: Service
124metadata:
125 name: search-data-service
BorislavG8bfc6cf2018-02-27 15:04:26 +0000126 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000127 labels:
128 app: search-data-service
129spec:
130 ports:
131 - name: "search-data-service-port-9509"
132 port: 9509
133 selector:
134 app: search-data-service
135 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300136#{{ end }}
137#{{ if not .Values.disableAaiAaiTraversal }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000138---
139apiVersion: v1
140kind: Service
141metadata:
Mandeep Khinda4b881972017-08-30 14:24:02 +0000142 name: aai-traversal
BorislavG8bfc6cf2018-02-27 15:04:26 +0000143 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000144 labels:
145 app: aai-traversal
146spec:
147 ports:
148 - name: "aai-traversal-port-8446"
149 port: 8446
150 - name: aai-traversal-port-debug
151 port: 5005
152 selector:
153 app: aai-traversal
154 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300155#{{ end }}
156#{{ if not .Values.disableAaiAaiResources }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000157---
158apiVersion: v1
159kind: Service
160metadata:
161 name: aai-resources
BorislavG8bfc6cf2018-02-27 15:04:26 +0000162 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000163 labels:
164 app: aai-resources
165spec:
166 ports:
167 - name: "aai-resources-port-8447"
168 port: 8447
169 - name: aai-resources-port-debug
170 port: 5005
171 selector:
172 app: aai-resources
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000173 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300174#{{ end }}
175#{{ if not .Values.disableAaiSparkyBe }}
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000176---
177apiVersion: v1
178kind: Service
179metadata:
180 name: sparky-be
BorislavG8bfc6cf2018-02-27 15:04:26 +0000181 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000182 labels:
183 app: sparky-be
184spec:
185 ports:
186 - name: "sparky-be-port-9517"
187 port: 9517
188 selector:
189 app: sparky-be
yurynfcef9942017-10-26 17:10:50 +0300190 clusterIP: None
BorislavG8bfc6cf2018-02-27 15:04:26 +0000191#{{ end }}