blob: f7526089842d47d46b0fcc43fcda2ae44e4acdbf [file] [log] [blame]
HuabingZhaof2a9f562017-08-26 11:49:59 +08001apiVersion: v1
2kind: Service
3metadata:
4 name: msb-consul
HuabingZhao3f1a25e2017-09-02 14:45:28 +08005 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaof2a9f562017-08-26 11:49:59 +08006 labels:
7 app: msb-consul
8spec:
HuabingZhaof2a9f562017-08-26 11:49:59 +08009 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
HuabingZhao3f1a25e2017-09-02 14:45:28 +080020 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080021 labels:
22 app: msb-discovery
23spec:
24 clusterIP: "{{ .Values.discoveryClusterIP }}"
25 ports:
26 - port: {{ .Values.discoveryPort }}
27 nodePort: {{ .Values.discoveryNodePort }}
28 selector:
29 app: msb-discovery
HuabingZhao34690292017-08-30 13:42:11 +080030 type: NodePort
31---
32apiVersion: v1
33kind: Service
34metadata:
35 name: msb-iag
HuabingZhao3f1a25e2017-09-02 14:45:28 +080036 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhao1ed45d92017-09-12 04:17:56 -040037 labels:
38 app: msb-iag
39spec:
40 ports:
41 - port: {{ .Values.iagPort }}
42 nodePort: {{ .Values.iagNodePort }}
43 selector:
44 app: msb-iag
45 type: NodePort
46---
47apiVersion: v1
48kind: Service
49metadata:
50 name: msb-eag
51 namespace: "{{ .Values.nsPrefix }}-msb"
52 labels:
53 app: msb-eag
54spec:
55 ports:
56 - port: {{ .Values.eagPort }}
57 nodePort: {{ .Values.eagNodePort }}
58 selector:
59 app: msb-eag
60 type: NodePort