blob: 4ec4656896b297a81da5ee47fa63cbf9e51e8453 [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:
9 clusterIP: "{{ .Values.consulClusterIP }}"
10 ports:
HuabingZhao4ea06552017-08-29 15:30:10 +080011 - port: {{ .Values.consulPort }}
HuabingZhao77d44cd2017-08-30 09:30:03 +080012 nodePort: {{ .Values.consulNodePort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080013 selector:
14 app: msb-consul
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080015 type: NodePort
16---
17apiVersion: v1
18kind: Service
19metadata:
20 name: msb-discovery
HuabingZhao3f1a25e2017-09-02 14:45:28 +080021 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080022 labels:
23 app: msb-discovery
24spec:
25 clusterIP: "{{ .Values.discoveryClusterIP }}"
26 ports:
27 - port: {{ .Values.discoveryPort }}
28 nodePort: {{ .Values.discoveryNodePort }}
29 selector:
30 app: msb-discovery
HuabingZhao34690292017-08-30 13:42:11 +080031 type: NodePort
32---
33apiVersion: v1
34kind: Service
35metadata:
36 name: msb-iag
HuabingZhao3f1a25e2017-09-02 14:45:28 +080037 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhao34690292017-08-30 13:42:11 +080038 labels:
39 app: msb-iag
40spec:
41 clusterIP: "{{ .Values.iagClusterIP }}"
42 ports:
43 - port: {{ .Values.iagPort }}
44 nodePort: {{ .Values.iagNodePort }}
45 selector:
46 app: msb-iag
47 type: NodePort
48---
49apiVersion: v1
50kind: Service
51metadata:
52 name: msb-eag
HuabingZhao3f1a25e2017-09-02 14:45:28 +080053 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhao34690292017-08-30 13:42:11 +080054 labels:
55 app: msb-eag
56spec:
57 clusterIP: "{{ .Values.eagClusterIP }}"
58 ports:
59 - port: {{ .Values.eagPort }}
60 nodePort: {{ .Values.eagNodePort }}
61 selector:
62 app: msb-eag
HuabingZhaof2a9f562017-08-26 11:49:59 +080063 type: NodePort