subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: cli | ||||
5 | namespace: "{{ .Values.nsPrefix }}-cli" | ||||
6 | labels: | ||||
7 | app: cli | ||||
8 | spec: | ||||
9 | ports: | ||||
10 | - name: 80-port | ||||
11 | port: 80 | ||||
12 | targetPort: 80 | ||||
13 | nodePort: {{ .Values.nodePortPrefix }}60 | ||||
14 | type: NodePort | ||||
15 | selector: | ||||
16 | app: cli |