blob: 80892fe72862bfef918b6db9aa45fcffd069668d (
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: {{ .Values.consulPort }}
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
|