Added config and logger module from xapp-fwk. Added Routes related to A1Mediator...
[ric-plt/rtmgr.git] / manifests / rtmgr / rtmgr-dep.yaml
1 #
2 #==================================================================================
3 #   Copyright (c) 2019 AT&T Intellectual Property.
4 #   Copyright (c) 2019 Nokia
5 #
6 #   Licensed under the Apache License, Version 2.0 (the "License");
7 #   you may not use this file except in compliance with the License.
8 #   You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #   Unless required by applicable law or agreed to in writing, software
13 #   distributed under the License is distributed on an "AS IS" BASIS,
14 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #   See the License for the specific language governing permissions and
16 #   limitations under the License.
17 #
18 #   
19 #   This source code is part of the near-RT RIC (RAN Intelligent Controller)
20 #   platform project (RICP).
21 #
22 #==================================================================================
23 #
24 #
25 #   Abstract:           Routing Manager Kubernetes manifest
26 #   Date:               29 March 2019
27 #
28 apiVersion: apps/v1
29 kind: Deployment
30 metadata:
31   name: rtmgr
32 spec:
33   replicas: 1
34   selector:
35     matchLabels:
36       app: rtmgr
37   template:
38     metadata:
39       labels:
40         app: rtmgr
41     spec:
42       containers:
43         - name: rtmgr
44           image: cmaster:5000/rtmgr:latest
45           command: ["/run_rtmgr.sh"]
46           env:
47             - name: XMURL
48               value: "http://appmgr-service:8080/ric/v1/xapps"
49             - name: RTFILE
50               value: "/db/rt.json"
51             - name: RPE
52               value: "rmrpush"
53             - name: SBI
54               value: "nngpush"
55             - name: SBIURL
56               value: "0.0.0.0"
57             - name: NBI
58               value: "httpRESTful"
59             - name: NBIURL
60               value: "http://rtmgr:8888"
61             - name: CFGFILE
62               value: "/cfg/rtmgr-config.json"
63           ports:
64             - containerPort: 8888
65             - containerPort: 4560
66           volumeMounts:
67             - mountPath: /cfg
68               name: rtmgrcfg
69               readOnly: true
70       volumes:
71         - name: rtmgrcfg
72           configMap:
73             name: rtmgrcfg
74             items:
75               - key: rtmgrcfg
76                 path: rtmgr-config.json
77                 mode: 0644