Initial version
[ric-plt/xapp-frame.git] / test / manifest / gnb-sim.yaml
1 ---
2 apiVersion: v1
3 kind: Pod
4 metadata:
5   name: gnb-sim
6   namespace: ricxapp
7 spec:
8   hostname: gnb-sim
9   containers:
10   - name: gnb-sim
11     image: 192.168.0.6:5000/gnb-sim:latest
12     env:
13     - name: RMR_SEED_RT
14       value: "/opt/gnbsim/uta_rtg_ric.rt"
15     ports:
16       - name: sim
17         containerPort: 4591
18         protocol: TCP
19       - name: rep
20         containerPort: 4560
21         protocol: TCP
22     command: ["/bin/bash", "-c", "--"]
23     args: ["while true; do sleep 30; done;"]
24 ---
25 apiVersion: v1
26 kind: Service
27 metadata:
28   name: gnb-sim-service
29   namespace: ricxapp
30 spec:
31   type: ClusterIP
32   ports:
33     - port: 4591
34       targetPort: 4591
35       protocol: TCP
36       name: sim
37