# 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).
+#
#==================================================================================
#
#
kind: Deployment
metadata:
name: rtmgr
- namespace: example
spec:
replicas: 1
selector:
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
+ - 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