# #================================================================================== # 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. #================================================================================== # # # Abstract: Routing Manager Kubernetes manifest # Date: 29 March 2019 # apiVersion: apps/v1 kind: Deployment metadata: name: rtmgr namespace: example spec: replicas: 1 selector: matchLabels: app: rtmgr template: metadata: labels: app: rtmgr spec: containers: - name: rtmgr image: cmaster:5000/rtmgr:0.0.3 command: ["/run_rtmgr.sh"] env: - name: XMURL value: "http://xmgr:3000/xapps" - name: SOCKET value: "tcp://0.0.0.0:4560" - name: RTFILE value: "/db/rt.json" - name: RPE value: "rmr" ports: - containerPort: 4560