aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/all-services.yaml
blob: ea66c313509a54b04e05ce4ba4dc5dc1836acf45 (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
apiVersion: v1
kind: Service
metadata:
  name: msb-consul
  labels:
    app: msb-consul
spec:
  clusterIP: "{{ .Values.consulClusterIP }}"
  ports:
    - port: 8500
      nodePort: "{{ .Values.consulNodePort }}"
  selector:
    app: msb-consul
  type: NodePort
---
apiVersion: v1
kind: Service
metadata:
  name: msb-discovery
  labels:
    app: msb-discovery
spec:
  clusterIP: "{{ .Values.discoveryClusterIP }}"
  ports:
    - port: {{ .Values.discoveryPort }}
      nodePort: {{ .Values.discoveryNodePort }}
  selector:
    app: msb-discovery
  type: NodePort