Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: mariadb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 5 | namespace: "{{ .Values.nsPrefix }}-mso" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | labels: |
| 7 | app: mariadb |
| 8 | spec: |
| 9 | ports: |
| 10 | - port: 3306 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 11 | nodePort: {{ .Values.nodePortPrefix }}52 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 12 | selector: |
| 13 | app: mariadb |
| 14 | type: NodePort |
| 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: mso |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}-mso" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: mso |
HuabingZhao | 5b8b12a | 2017-09-01 13:03:33 +0800 | [diff] [blame] | 23 | 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 Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 43 | spec: |
| 44 | selector: |
| 45 | app: mso |
| 46 | ports: |
| 47 | - name: mso1 |
| 48 | port: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 49 | nodePort: {{ .Values.nodePortPrefix }}23 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 50 | - name: mso2 |
| 51 | port: 3904 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 52 | nodePort: {{ .Values.nodePortPrefix }}25 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 53 | - name: mso3 |
| 54 | port: 3905 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 55 | nodePort: {{ .Values.nodePortPrefix }}24 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 56 | - name: mso4 |
| 57 | port: 9990 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 58 | nodePort: {{ .Values.nodePortPrefix }}22 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | - name: mso5 |
| 60 | port: 8787 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 61 | nodePort: {{ .Values.nodePortPrefix }}50 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 62 | type: NodePort |