# #================================================================================== # Copyright (c) 2019 AT&T Intellectual Property. # Copyright (c) 2019 Nokia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # # This source code is part of the near-RT RIC (RAN Intelligent Controller) # platform project (RICP). # #================================================================================== # # # Abstract: Routing Manager Kubernetes manifest # Date: 29 March 2019 # apiVersion: apps/v1 kind: Deployment metadata: name: rtmgr spec: replicas: 1 selector: matchLabels: app: rtmgr template: metadata: labels: app: rtmgr spec: containers: - name: rtmgr image: cmaster:5000/rtmgr:latest command: ["/run_rtmgr.sh"] env: - name: XMURL value: "http://appmgr-service:8080/ric/v1/xapps" - name: RTFILE value: "/db/rt.json" - name: RPE value: "rmrpush" - name: SBI value: "nngpush" - name: SBIURL value: "0.0.0.0" - name: NBI value: "httpRESTful" - name: NBIURL value: "http://rtmgr:8888" - name: CFGFILE value: "/cfg/rtmgr-config.json" ports: - containerPort: 8888 - containerPort: 4560 volumeMounts: - mountPath: /cfg name: rtmgrcfg readOnly: true volumes: - name: rtmgrcfg configMap: name: rtmgrcfg items: - key: rtmgrcfg path: rtmgr-config.json mode: 0644