-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5g-tester.yaml
104 lines (103 loc) · 2.28 KB
/
5g-tester.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
apiVersion: v1
kind: ConfigMap
metadata:
name: tester-configmap
labels:
app: tester
component: ue
data:
config.yml: |
gnodeb:
controlif:
ip: "127.0.0.1"
port: 9487
dataif:
ip: "10.200.200.2"
port: 2152
plmnlist:
mcc: "208"
mnc: "93"
tac: "000001"
gnbid: "000001"
slicesupportlist:
sst: "01"
sd: "010203"
ue:
msin: "0000000003"
key: "8baf473f2f8fd09487cccbd7097c6862"
opc: "8e27b6af0e692e750f32667a3b14605d"
amf: "8000"
sqn: "0000000"
dnn: "internet"
hplmn:
mcc: "208"
mnc: "93"
snssai:
sst: 01
sd: "010203"
amfif:
ip: "10.43.0.212"
port: 38412
log:
level: 5
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-tester-ue
labels:
app.kubernetes.io/name: tester
app.kubernetes.io/instance: release-name
app: tester
component: ue
spec:
selector:
matchLabels:
app.kubernetes.io/name: tester
app.kubernetes.io/instance: release-name
app: tester
component: ue
replicas: 1
template:
metadata:
volumes:
- name: datadir
persistentVolumeClaim:
claimName: datadir-mongodb-0
annotations:
cni.projectcalico.org/ipAddrs: "[\"10.233.103.85\"]"
labels:
app.kubernetes.io/name: tester
app.kubernetes.io/instance: release-name
app: tester
component: ue
spec:
containers:
- image: baleeiro17/my5gtester
name: tester
ports:
- name: gnb-ue
containerPort: 4997
protocol: UDP
securityContext:
capabilities:
add: ["NET_ADMIN"]
#command: ["./app"]
command: ["tail"]
args: ["-f", "/etc/passwd"]
#args: ["gnb"]
#args: ["ue-latency-interval", "-t", "20"]
#args: ["amf-load-loop", "-n", "1", "-t", "40"]
volumeMounts:
- mountPath: /workspace/my5G-RANTester/config
name: tester-volume
resources:
limits:
cpu: 400m
memory: 400Mi
requests:
cpu: 400m
memory: 400Mi
dnsPolicy: ClusterFirst
restartPolicy: Always