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" |
HuabingZhao | 946e986 | 2017-09-12 11:00:59 +0800 | [diff] [blame] | 23 | annotations: |
| 24 | msb.onap.org/service-info: '[ |
| 25 | { |
| 26 | "serviceName": "portal", |
| 27 | "version": "v2", |
| 28 | "url": "/", |
| 29 | "protocol": "REST" |
| 30 | "port": "8989", |
| 31 | "visualRange":"1" |
| 32 | } |
| 33 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 34 | spec: |
| 35 | ports: |
| 36 | - name: portal-1 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 37 | nodePort: {{ .Values.nodePortPrefix }}13 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 38 | port: 8006 |
| 39 | targetPort: 8005 |
| 40 | - name: portal-2 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 41 | nodePort: {{ .Values.nodePortPrefix }}14 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 42 | port: 8010 |
| 43 | targetPort: 8009 |
| 44 | - name: portal-3 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 45 | nodePort: {{ .Values.nodePortPrefix }}15 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 46 | port: 8989 |
| 47 | targetPort: 8080 |
| 48 | selector: |
| 49 | app: portalapps |
| 50 | type: NodePort |
| 51 | --- |
| 52 | apiVersion: v1 |
| 53 | kind: Service |
| 54 | metadata: |
| 55 | labels: |
| 56 | app: vnc-portal |
| 57 | name: vnc-portal |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 58 | namespace: "{{ .Values.nsPrefix }}-portal" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | spec: |
| 60 | ports: |
| 61 | - name: tcp-1 |
| 62 | port: 6080 |
| 63 | targetPort: 80 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 64 | nodePort: {{ .Values.nodePortPrefix }}11 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 65 | - name: tcp-2 |
| 66 | port: 5900 |
| 67 | targetPort: 5900 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 68 | nodePort: {{ .Values.nodePortPrefix }}12 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 69 | selector: |
| 70 | app: vnc-portal |
| 71 | type: NodePort |
Mandeep Khinda | 82c63d3 | 2017-08-21 16:04:37 -0400 | [diff] [blame] | 72 | --- |
| 73 | apiVersion: v1 |
| 74 | kind: Service |
| 75 | metadata: |
| 76 | name: portalwidgets |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 77 | namespace: "{{ .Values.nsPrefix }}-portal" |
Mandeep Khinda | 82c63d3 | 2017-08-21 16:04:37 -0400 | [diff] [blame] | 78 | labels: |
| 79 | app: portalwidgets |
| 80 | spec: |
| 81 | ports: |
| 82 | - name: portalwidgets |
| 83 | port: 8082 |
| 84 | selector: |
| 85 | app: portalwidgets |
| 86 | clusterIP: None |