blob: 88f5a9af0edfd21d3c11d9d8122f2f910a58d689 (
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
|