aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/all-services.yaml
blob: 93febccbed02218618952dd98df4200826edc7bf (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: 30204
    port: 8443
  - name: sdc-be-port-8080
    nodePort: 30205
    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: 30207
    port: 9443
  - name: sdc-fe-port-8181
    nodePort: 30206
    port: 8181
  selector:
    app: sdc-fe
  type: NodePort