blob: ea66c313509a54b04e05ce4ba4dc5dc1836acf45 [file] [log] [blame]
HuabingZhaof2a9f562017-08-26 11:49:59 +08001apiVersion: v1
2kind: Service
3metadata:
4 name: msb-consul
5 labels:
6 app: msb-consul
7spec:
8 clusterIP: "{{ .Values.consulClusterIP }}"
9 ports:
10 - port: 8500
11 nodePort: "{{ .Values.consulNodePort }}"
12 selector:
13 app: msb-consul
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080014 type: NodePort
15---
16apiVersion: v1
17kind: Service
18metadata:
19 name: msb-discovery
20 labels:
21 app: msb-discovery
22spec:
23 clusterIP: "{{ .Values.discoveryClusterIP }}"
24 ports:
25 - port: {{ .Values.discoveryPort }}
26 nodePort: {{ .Values.discoveryNodePort }}
27 selector:
28 app: msb-discovery
HuabingZhaof2a9f562017-08-26 11:49:59 +080029 type: NodePort