Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: portaldb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-portal" |
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 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 22 | namespace: "{{ .Values.nsPrefix }}-portal" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 23 | spec: |
| 24 | ports: |
| 25 | - name: portal-1 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 26 | nodePort: {{ .Values.nodePortPrefix }}13 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 27 | port: 8006 |
| 28 | targetPort: 8005 |
| 29 | - name: portal-2 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 30 | nodePort: {{ .Values.nodePortPrefix }}14 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 31 | port: 8010 |
| 32 | targetPort: 8009 |
| 33 | - name: portal-3 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 34 | nodePort: {{ .Values.nodePortPrefix }}15 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 47 | namespace: "{{ .Values.nsPrefix }}-portal" |
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 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 53 | nodePort: {{ .Values.nodePortPrefix }}11 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 54 | - name: tcp-2 |
| 55 | port: 5900 |
| 56 | targetPort: 5900 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 57 | nodePort: {{ .Values.nodePortPrefix }}12 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 66 | namespace: "{{ .Values.nsPrefix }}-portal" |
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 |