HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: msb-consul |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 6 | labels: |
| 7 | app: msb-consul |
| 8 | spec: |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 9 | ports: |
HuabingZhao | 4ea0655 | 2017-08-29 15:30:10 +0800 | [diff] [blame] | 10 | - port: {{ .Values.consulPort }} |
HuabingZhao | 77d44cd | 2017-08-30 09:30:03 +0800 | [diff] [blame] | 11 | nodePort: {{ .Values.consulNodePort }} |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 12 | selector: |
| 13 | app: msb-consul |
HuabingZhao | c2b4fcf | 2017-08-29 10:48:25 +0800 | [diff] [blame] | 14 | type: NodePort |
| 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: msb-discovery |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | c2b4fcf | 2017-08-29 10:48:25 +0800 | [diff] [blame] | 21 | labels: |
| 22 | app: msb-discovery |
| 23 | spec: |
| 24 | clusterIP: "{{ .Values.discoveryClusterIP }}" |
| 25 | ports: |
| 26 | - port: {{ .Values.discoveryPort }} |
| 27 | nodePort: {{ .Values.discoveryNodePort }} |
| 28 | selector: |
| 29 | app: msb-discovery |
HuabingZhao | 3469029 | 2017-08-30 13:42:11 +0800 | [diff] [blame] | 30 | type: NodePort |
| 31 | --- |
| 32 | apiVersion: v1 |
| 33 | kind: Service |
| 34 | metadata: |
| 35 | name: msb-iag |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 36 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 37 | labels: |
| 38 | app: msb-iag |
| 39 | spec: |
| 40 | ports: |
| 41 | - port: {{ .Values.iagPort }} |
| 42 | nodePort: {{ .Values.iagNodePort }} |
| 43 | selector: |
| 44 | app: msb-iag |
| 45 | type: NodePort |
| 46 | --- |
| 47 | apiVersion: v1 |
| 48 | kind: Service |
| 49 | metadata: |
| 50 | name: msb-eag |
| 51 | namespace: "{{ .Values.nsPrefix }}-msb" |
| 52 | labels: |
| 53 | app: msb-eag |
| 54 | spec: |
| 55 | ports: |
| 56 | - port: {{ .Values.eagPort }} |
| 57 | nodePort: {{ .Values.eagNodePort }} |
| 58 | selector: |
| 59 | app: msb-eag |
| 60 | type: NodePort |