2023-03-14 04:32:53 -04:00
|
|
|
kind: Deployment
|
|
|
|
apiVersion: apps/v1
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-02"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-02"}]'
|
|
|
|
name: oai-nr-ue-02
|
|
|
|
|
|
|
|
namespace: infidel-test
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/part-of: trainee-02
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/part-of: trainee-02
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/part-of: trainee-02
|
|
|
|
creationTimestamp: null
|
|
|
|
annotations:
|
|
|
|
k8s.v1.cni.cncf.io/networks: 'oai-ue-du-02-net'
|
|
|
|
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
|
|
|
spec:
|
|
|
|
restartPolicy: Always
|
|
|
|
serviceAccountName: oai-sa
|
|
|
|
schedulerName: default-scheduler
|
|
|
|
terminationGracePeriodSeconds: 30
|
|
|
|
securityContext: {}
|
|
|
|
containers:
|
|
|
|
- resources: {}
|
|
|
|
terminationMessagePath: /dev/termination-log
|
|
|
|
name: rfsim5g-oai-nr-ue
|
|
|
|
livenessProbe:
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- /bin/bash -c "pgrep nr-uesoftmodem"
|
|
|
|
timeoutSeconds: 5
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
failureThreshold: 5
|
|
|
|
env:
|
|
|
|
- name: DNN
|
|
|
|
value: oai
|
|
|
|
- name: FULL_IMSI
|
|
|
|
value: '208990200000002'
|
|
|
|
- name: FULL_KEY
|
|
|
|
value: fec86ba6eb707ed08905757b1bb44b8f
|
|
|
|
- name: NSSAI_SST
|
|
|
|
value: '1'
|
|
|
|
- name: OPC
|
|
|
|
value: c42449363bbad02b66d16bc975d77cc1
|
|
|
|
- name: RFSIMULATOR
|
|
|
|
value: 192.168.35.16
|
|
|
|
- name: USE_ADDITIONAL_OPTIONS
|
|
|
|
value: >-
|
|
|
|
--sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod
|
|
|
|
--log_config.global_log_options level,nocolor,time
|
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
volumeMounts:
|
|
|
|
- name: dev-tun
|
|
|
|
readOnly: true
|
|
|
|
mountPath: /dev/net/tun
|
|
|
|
terminationMessagePolicy: File
|
2023-04-16 02:59:21 -04:00
|
|
|
image: '192.168.22.1:5000/oai-nr-ue'
|
2023-03-14 04:32:53 -04:00
|
|
|
serviceAccount: oai-sa
|
|
|
|
volumes:
|
|
|
|
- name: dev-tun
|
|
|
|
hostPath:
|
|
|
|
path: /dev/net/tun
|
|
|
|
type: ''
|
|
|
|
dnsPolicy: ClusterFirst
|
|
|
|
strategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
rollingUpdate:
|
|
|
|
maxUnavailable: 25%
|
|
|
|
maxSurge: 25%
|
|
|
|
revisionHistoryLimit: 10
|
|
|
|
progressDeadlineSeconds: 600
|