blob: 96c7fd79e82b25500eebde87e80a114d084b5ca3 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: v1
2kind: Service
3metadata:
4 name: mariadb
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00005 namespace: "{{ .Values.nsPrefix }}-mso"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04006 labels:
7 app: mariadb
8spec:
9 ports:
10 - port: 3306
kerenj78eff212017-08-29 09:56:36 +000011 nodePort: {{ .Values.nodePortPrefix }}52
Mandeep Khindad6ea9872017-06-24 11:49:37 -040012 selector:
13 app: mariadb
14 type: NodePort
15---
16apiVersion: v1
17kind: Service
18metadata:
19 name: mso
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000020 namespace: "{{ .Values.nsPrefix }}-mso"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040021 labels:
22 app: mso
HuabingZhao5b8b12a2017-09-01 13:03:33 +080023 annotations:
24 msb.onap.org/service-info: '[
25 {
26 "serviceName": "so",
27 "version": "v1",
28 "url": "/ecomp/mso/infra",
29 "protocol": "REST"
30 "port": "8080",
31 "visualRange":"1"
32 },
33 {
34 "serviceName": "so-deprecated",
35 "version": "v1",
36 "url": "/ecomp/mso/infra",
37 "protocol": "REST"
38 "port": "8080",
39 "visualRange":"1",
40 "path":"/ecomp/mso/infra"
41 }
42 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040043spec:
44 selector:
45 app: mso
46 ports:
47 - name: mso1
48 port: 8080
kerenj78eff212017-08-29 09:56:36 +000049 nodePort: {{ .Values.nodePortPrefix }}23
Mandeep Khindad6ea9872017-06-24 11:49:37 -040050 - name: mso2
51 port: 3904
kerenj78eff212017-08-29 09:56:36 +000052 nodePort: {{ .Values.nodePortPrefix }}25
Mandeep Khindad6ea9872017-06-24 11:49:37 -040053 - name: mso3
54 port: 3905
kerenj78eff212017-08-29 09:56:36 +000055 nodePort: {{ .Values.nodePortPrefix }}24
Mandeep Khindad6ea9872017-06-24 11:49:37 -040056 - name: mso4
57 port: 9990
kerenj78eff212017-08-29 09:56:36 +000058 nodePort: {{ .Values.nodePortPrefix }}22
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059 - name: mso5
60 port: 8787
kerenj78eff212017-08-29 09:56:36 +000061 nodePort: {{ .Values.nodePortPrefix }}50
Mandeep Khindad6ea9872017-06-24 11:49:37 -040062 type: NodePort