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: | ||||
10 | - port: 8500 | ||||
11 | nodePort: "{{ .Values.consulNodePort }}" | ||||
12 | selector: | ||||
13 | app: msb-consul | ||||
14 | type: NodePort |