summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/templates/all-services.yaml
blob: b4eafe546f9d4bb4c3774b70b283a53d67e5ea13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apiVersion: v1
kind: Service
metadata:
  name: framework
  namespace: "{{ .Values.nsPrefix }}-multicloud"
  labels:
    name: framework
  annotations:
    msb.onap.org/service-info: '[
    {
      "serviceName": "multicloud",
      "version": "v0",
      "url": "/api/multicloud/v0",
      "protocol": "REST",
      "port": "9001",
      "visualRange": "1"
    }
    ]'
spec:
  ports:
  - name: "framework-port"
    port: 9001
    nodePort: {{ .Values.nodePortPrefix }}91
  selector:
    app: framework
  type: NodePort
---
apiVersion: v1
kind: Service
metadata:
  name: multicloud-vio
  namespace: "{{ .Values.nsPrefix }}-multicloud"
  labels:
    name: multicloud-vio
  annotations:
    msb.onap.org/service-info: '[
    {
      "serviceName": "multicloud-vio",
      "version": "v0",
      "url": "/api/multicloud-vio/v0",
      "protocol": "REST",
      "port": "9004",
      "visualRange": "1"
    }
    ]'

spec:
  ports:
  - name: "multicloud-port"
    port: 9004
    nodePort: {{ .Values.nodePortPrefix }}94
  selector:
    app: multicloud-vio
  type: NodePort