blob: 80892fe72862bfef918b6db9aa45fcffd069668d [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:
HuabingZhao4ea06552017-08-29 15:30:10 +080010 - port: {{ .Values.consulPort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080011 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