summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/all-services.yaml
blob: 22d94eb707113bbba9828dd08286c640916a462c (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
apiVersion: v1
kind: Service
metadata:
  name: hbase
  namespace: "{{ .Values.nsPrefix }}-aai"
  labels:
    app: hbase
spec:
  ports:
  - name: "hbase-port"
    port: 8020
  selector:
    app: hbase
  clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
  name: aai-service
  namespace: "{{ .Values.nsPrefix }}-aai"
  labels:
    app: aai-service
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
---
apiVersion: v1
kind: Service
metadata:
  name: model-loader-service
  namespace: "{{ .Values.nsPrefix }}-aai"
  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