Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: vid-mariadb |
kerenj | bf4b4a0 | 2017-08-23 07:39:14 +0000 | [diff] [blame] | 5 | namespace: {{ .Values.NS }} |
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 |
kerenj | bf4b4a0 | 2017-08-23 07:39:14 +0000 | [diff] [blame] | 20 | namespace: {{ .Values.NS }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | spec: |
| 22 | ports: |
| 23 | - name: vid-server |
| 24 | nodePort: 30200 |
| 25 | port: 8080 |
| 26 | selector: |
| 27 | app: vid-server |
| 28 | type: NodePort |