blob: b819b1c5e32789d85a4c46ef0e73e4f7e4303206 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: portaldb
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-portal"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006 labels:
7 app: portaldb
8spec:
9 ports:
10 - name: portaldb
11 port: 3306
12 selector:
13 app: portaldb
14 clusterIP: None
15---
16apiVersion: v1
17kind: Service
18metadata:
19 labels:
20 app: portalapps
21 name: portalapps
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000022 namespace: "{{ .Values.nsPrefix }}-portal"
HuabingZhao946e9862017-09-12 11:00:59 +080023 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 Khindad6ea9872017-06-24 11:49:37 -040034spec:
35 ports:
36 - name: portal-1
kerenj78eff212017-08-29 09:56:36 +000037 nodePort: {{ .Values.nodePortPrefix }}13
Mandeep Khindad6ea9872017-06-24 11:49:37 -040038 port: 8006
39 targetPort: 8005
40 - name: portal-2
kerenj78eff212017-08-29 09:56:36 +000041 nodePort: {{ .Values.nodePortPrefix }}14
Mandeep Khindad6ea9872017-06-24 11:49:37 -040042 port: 8010
43 targetPort: 8009
44 - name: portal-3
kerenj78eff212017-08-29 09:56:36 +000045 nodePort: {{ .Values.nodePortPrefix }}15
Mandeep Khindad6ea9872017-06-24 11:49:37 -040046 port: 8989
47 targetPort: 8080
48 selector:
49 app: portalapps
50 type: NodePort
51---
52apiVersion: v1
53kind: Service
54metadata:
55 labels:
56 app: vnc-portal
57 name: vnc-portal
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000058 namespace: "{{ .Values.nsPrefix }}-portal"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059spec:
60 ports:
61 - name: tcp-1
62 port: 6080
63 targetPort: 80
kerenj78eff212017-08-29 09:56:36 +000064 nodePort: {{ .Values.nodePortPrefix }}11
Mandeep Khindad6ea9872017-06-24 11:49:37 -040065 - name: tcp-2
66 port: 5900
67 targetPort: 5900
kerenj78eff212017-08-29 09:56:36 +000068 nodePort: {{ .Values.nodePortPrefix }}12
Mandeep Khindad6ea9872017-06-24 11:49:37 -040069 selector:
70 app: vnc-portal
71 type: NodePort
Mandeep Khinda82c63d32017-08-21 16:04:37 -040072---
73apiVersion: v1
74kind: Service
75metadata:
76 name: portalwidgets
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000077 namespace: "{{ .Values.nsPrefix }}-portal"
Mandeep Khinda82c63d32017-08-21 16:04:37 -040078 labels:
79 app: portalwidgets
80spec:
81 ports:
82 - name: portalwidgets
83 port: 8082
84 selector:
85 app: portalwidgets
86 clusterIP: None