HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: msb-consul |
| 5 | labels: |
| 6 | app: msb-consul |
| 7 | spec: |
| 8 | clusterIP: "{{ .Values.consulClusterIP }}" |
| 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 |
| 20 | labels: |
| 21 | app: msb-discovery |
| 22 | spec: |
| 23 | clusterIP: "{{ .Values.discoveryClusterIP }}" |
| 24 | ports: |
| 25 | - port: {{ .Values.discoveryPort }} |
| 26 | nodePort: {{ .Values.discoveryNodePort }} |
| 27 | selector: |
| 28 | app: msb-discovery |
HuabingZhao | 3469029 | 2017-08-30 13:42:11 +0800 | [diff] [blame] | 29 | type: NodePort |
| 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: Service |
| 33 | metadata: |
| 34 | name: msb-iag |
| 35 | labels: |
| 36 | app: msb-iag |
| 37 | spec: |
| 38 | clusterIP: "{{ .Values.iagClusterIP }}" |
| 39 | ports: |
| 40 | - port: {{ .Values.iagPort }} |
| 41 | nodePort: {{ .Values.iagNodePort }} |
| 42 | selector: |
| 43 | app: msb-iag |
| 44 | type: NodePort |
| 45 | --- |
| 46 | apiVersion: v1 |
| 47 | kind: Service |
| 48 | metadata: |
| 49 | name: msb-eag |
| 50 | labels: |
| 51 | app: msb-eag |
| 52 | spec: |
| 53 | clusterIP: "{{ .Values.eagClusterIP }}" |
| 54 | ports: |
| 55 | - port: {{ .Values.eagPort }} |
| 56 | nodePort: {{ .Values.eagNodePort }} |
| 57 | selector: |
| 58 | app: msb-eag |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 59 | type: NodePort |