blob: 88f5a9af0edfd21d3c11d9d8122f2f910a58d689 [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 }}
HuabingZhao77d44cd2017-08-30 09:30:03 +080011 nodePort: {{ .Values.consulNodePort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080012 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