Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: portaldb |
kerenj | cbac010 | 2017-08-23 10:22:33 +0000 | [diff] [blame] | 5 | namespace: {{ .Values.NS }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | labels: |
| 7 | app: portaldb |
| 8 | spec: |
| 9 | ports: |
| 10 | - name: portaldb |
| 11 | port: 3306 |
| 12 | selector: |
| 13 | app: portaldb |
| 14 | clusterIP: None |
| 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | labels: |
| 20 | app: portalapps |
| 21 | name: portalapps |
kerenj | cbac010 | 2017-08-23 10:22:33 +0000 | [diff] [blame] | 22 | namespace: {{ .Values.NS }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 23 | spec: |
| 24 | ports: |
| 25 | - name: portal-1 |
| 26 | nodePort: 30213 |
| 27 | port: 8006 |
| 28 | targetPort: 8005 |
| 29 | - name: portal-2 |
| 30 | nodePort: 30214 |
| 31 | port: 8010 |
| 32 | targetPort: 8009 |
| 33 | - name: portal-3 |
| 34 | nodePort: 30215 |
| 35 | port: 8989 |
| 36 | targetPort: 8080 |
| 37 | selector: |
| 38 | app: portalapps |
| 39 | type: NodePort |
| 40 | --- |
| 41 | apiVersion: v1 |
| 42 | kind: Service |
| 43 | metadata: |
| 44 | labels: |
| 45 | app: vnc-portal |
| 46 | name: vnc-portal |
kerenj | cbac010 | 2017-08-23 10:22:33 +0000 | [diff] [blame] | 47 | namespace: {{ .Values.NS }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 48 | spec: |
| 49 | ports: |
| 50 | - name: tcp-1 |
| 51 | port: 6080 |
| 52 | targetPort: 80 |
| 53 | nodePort: 30211 |
| 54 | - name: tcp-2 |
| 55 | port: 5900 |
| 56 | targetPort: 5900 |
| 57 | nodePort: 30212 |
| 58 | selector: |
| 59 | app: vnc-portal |
| 60 | type: NodePort |
Mandeep Khinda | 82c63d3 | 2017-08-21 16:04:37 -0400 | [diff] [blame] | 61 | --- |
| 62 | apiVersion: v1 |
| 63 | kind: Service |
| 64 | metadata: |
| 65 | name: portalwidgets |
kerenj | cbac010 | 2017-08-23 10:22:33 +0000 | [diff] [blame] | 66 | namespace: {{ .Values.NS }} |
Mandeep Khinda | 82c63d3 | 2017-08-21 16:04:37 -0400 | [diff] [blame] | 67 | labels: |
| 68 | app: portalwidgets |
| 69 | spec: |
| 70 | ports: |
| 71 | - name: portalwidgets |
| 72 | port: 8082 |
| 73 | selector: |
| 74 | app: portalwidgets |
| 75 | clusterIP: None |