82 lines
2.5 KiB
YAML
82 lines
2.5 KiB
YAML
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
annotations:
|
|
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-16"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-16"}]'
|
|
name: oai-nr-ue-16
|
|
|
|
namespace: infidel-test
|
|
labels:
|
|
app.kubernetes.io/part-of: trainee-16
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/part-of: trainee-16
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/part-of: trainee-16
|
|
creationTimestamp: null
|
|
annotations:
|
|
k8s.v1.cni.cncf.io/networks: 'oai-ue-du-16-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: '208990200000016'
|
|
- name: FULL_KEY
|
|
value: fec86ba6eb707ed08905757b1bb44b8f
|
|
- name: NSSAI_SST
|
|
value: '1'
|
|
- name: OPC
|
|
value: c42449363bbad02b66d16bc975d77cc1
|
|
- name: RFSIMULATOR
|
|
value: 192.168.35.58
|
|
- 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
|
|
image: '192.168.22.1:5000/oai-nr-ue'
|
|
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
|