aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/all-services.yaml
blob: 88cbe8eeb876c7bc7d4615f2fce4a1db3eb64f46 (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
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sdc-es
  name: sdc-es
  namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
  ports:
  - name: sdc-es-port-9200
    port: 9200
  - name: sdc-es-port-9300
    port: 9300
  selector:
    app: sdc-es
  clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sdc-cs
  name: sdc-cs
  namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
  ports:
  - name: sdc-cs-port-9042
    port: 9042
  - name: sdc-cs-port-9160
    port: 9160
  selector:
    app: sdc-cs
  clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sdc-kb
  name: sdc-kb
  namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
  ports:
  - name: sdc-kb-port-5601
    port: 5601
  selector:
    app: sdc-kb
  clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sdc-be
  name: sdc-be
  namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
  ports:
  - name: sdc-be-port-8443
    nodePort: {{ .Values.nodePortPrefix }}04
    port: 8443
  - name: sdc-be-port-8080
    nodePort: {{ .Values.nodePortPrefix }}05
    port: 8080
  selector:
    app: sdc-be
  type: NodePort
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: sdc-fe
  name: sdc-fe
  namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
  ports:
  - name: sdc-fe-port-9443
    nodePort: {{ .Values.nodePortPrefix }}07
    port: 9443
  - name: sdc-fe-port-8181
    nodePort: {{ .Values.nodePortPrefix }}06
    port: 8181
  selector:
    app: sdc-fe
  type: NodePort