Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: vid-mariadb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-vid" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | spec: |
| 7 | ports: |
| 8 | - name: vid-mariadb |
| 9 | port: 3306 |
| 10 | selector: |
| 11 | app: vid-mariadb |
| 12 | clusterIP: None |
| 13 | --- |
| 14 | apiVersion: v1 |
| 15 | kind: Service |
| 16 | metadata: |
| 17 | labels: |
| 18 | app: vid-server |
| 19 | name: vid-server |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}-vid" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | spec: |
| 22 | ports: |
| 23 | - name: vid-server |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame^] | 24 | nodePort: {{ .Values.nodePortPrefix }}00 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 25 | port: 8080 |
| 26 | selector: |
| 27 | app: vid-server |
| 28 | type: NodePort |