blob: b1ee989b4df9408ea72be0a0ebf2b2f5c40f596c [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
38spec:
39 ports:
40 - name: "aai-service-port-8443"
41 port: 8443
42 targetPort: 8443
kerenj78eff212017-08-29 09:56:36 +000043 nodePort: {{ .Values.nodePortPrefix }}33
Mandeep Khindad6ea9872017-06-24 11:49:37 -040044 - name: "aai-service-port-8080"
45 port: 8080
46 targetPort: 8080
kerenj78eff212017-08-29 09:56:36 +000047 nodePort: {{ .Values.nodePortPrefix }}32
Mandeep Khindad6ea9872017-06-24 11:49:37 -040048 type: NodePort
49 selector:
50 app: aai-service
Alexis de Talhouƫtdf4db0b2017-12-11 08:36:25 -050051 clusterIP: {{ .Values.aaiServiceClusterIp }}
yurynfcef9942017-10-26 17:10:50 +030052#{{ end }}
53#{{ if not .Values.disableAaiModelLoaderService }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040054---
55apiVersion: v1
56kind: Service
57metadata:
58 name: model-loader-service
BorislavG8bfc6cf2018-02-27 15:04:26 +000059 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040060 labels:
61 app: model-loader-service
62spec:
63 ports:
64 - name: "model-loader-service-port-8443"
65 port: 8443
kerenj78eff212017-08-29 09:56:36 +000066 nodePort: {{ .Values.nodePortPrefix }}29
Mandeep Khindad6ea9872017-06-24 11:49:37 -040067 - name: "model-loader-service-port-8080"
68 port: 8080
kerenj78eff212017-08-29 09:56:36 +000069 nodePort: {{ .Values.nodePortPrefix }}10
Mandeep Khindad6ea9872017-06-24 11:49:37 -040070 type: NodePort
71 selector:
72 app: model-loader-service
yurynfcef9942017-10-26 17:10:50 +030073#{{ end }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000074---
75apiVersion: v1
76kind: Service
77metadata:
78 name: gremlin
BorislavG8bfc6cf2018-02-27 15:04:26 +000079 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +000080 labels:
81 app: gremlin
82spec:
83 ports:
84 - name: "gremlin-port"
85 port: 8182
86 selector:
87 app: gremlin
88 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030089#{{ if not .Values.disableAaiElasticsearch }}
Mandeep Khinda4b881972017-08-30 14:24:02 +000090---
91apiVersion: v1
92kind: Service
93metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000094 name: aai-elasticsearch
95 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +000096 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +000097 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +000098spec:
99 ports:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000100 - name: "aai-elasticsearch-port"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000101 port: 9200
102 selector:
BorislavG8bfc6cf2018-02-27 15:04:26 +0000103 app: aai-elasticsearch
Mandeep Khinda4b881972017-08-30 14:24:02 +0000104 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300105#{{ end }}
106#{{ if not .Values.disableAaiSearchDataService }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000107---
108apiVersion: v1
109kind: Service
110metadata:
111 name: search-data-service
BorislavG8bfc6cf2018-02-27 15:04:26 +0000112 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000113 labels:
114 app: search-data-service
115spec:
116 ports:
117 - name: "search-data-service-port-9509"
118 port: 9509
119 selector:
120 app: search-data-service
121 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300122#{{ end }}
123#{{ if not .Values.disableAaiAaiTraversal }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000124---
125apiVersion: v1
126kind: Service
127metadata:
Mandeep Khinda4b881972017-08-30 14:24:02 +0000128 name: aai-traversal
BorislavG8bfc6cf2018-02-27 15:04:26 +0000129 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000130 labels:
131 app: aai-traversal
132spec:
133 ports:
134 - name: "aai-traversal-port-8446"
135 port: 8446
136 - name: aai-traversal-port-debug
137 port: 5005
138 selector:
139 app: aai-traversal
140 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300141#{{ end }}
142#{{ if not .Values.disableAaiAaiResources }}
Mandeep Khinda4b881972017-08-30 14:24:02 +0000143---
144apiVersion: v1
145kind: Service
146metadata:
147 name: aai-resources
BorislavG8bfc6cf2018-02-27 15:04:26 +0000148 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda4b881972017-08-30 14:24:02 +0000149 labels:
150 app: aai-resources
151spec:
152 ports:
153 - name: "aai-resources-port-8447"
154 port: 8447
155 - name: aai-resources-port-debug
156 port: 5005
157 selector:
158 app: aai-resources
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000159 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +0300160#{{ end }}
161#{{ if not .Values.disableAaiSparkyBe }}
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000162---
163apiVersion: v1
164kind: Service
165metadata:
166 name: sparky-be
BorislavG8bfc6cf2018-02-27 15:04:26 +0000167 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khinda5e35c5c2017-09-05 18:27:15 +0000168 labels:
169 app: sparky-be
170spec:
171 ports:
172 - name: "sparky-be-port-9517"
173 port: 9517
174 selector:
175 app: sparky-be
yurynfcef9942017-10-26 17:10:50 +0300176 clusterIP: None
BorislavG8bfc6cf2018-02-27 15:04:26 +0000177#{{ end }}