2023-04-16 02:59:21 -04:00
|
|
|
kind: Deployment
|
|
|
|
apiVersion: apps/v1
|
2023-03-14 04:32:53 -04:00
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]'
|
|
|
|
name: oai-cu-03
|
|
|
|
namespace: infidel-test
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/part-of: trainee-03
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
2023-04-16 02:59:21 -04:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/part-of: trainee-03
|
2023-03-14 04:32:53 -04:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2023-04-16 02:59:21 -04:00
|
|
|
app.kubernetes.io/part-of: trainee-03
|
|
|
|
creationTimestamp: null
|
2023-03-14 04:32:53 -04:00
|
|
|
annotations:
|
2023-04-16 02:59:21 -04:00
|
|
|
k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-03-net,oai-cu-du-03-net'
|
|
|
|
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
2023-03-14 04:32:53 -04:00
|
|
|
spec:
|
|
|
|
restartPolicy: Always
|
|
|
|
serviceAccountName: oai-sa
|
|
|
|
schedulerName: default-scheduler
|
|
|
|
terminationGracePeriodSeconds: 30
|
|
|
|
securityContext: {}
|
2023-04-16 02:59:21 -04:00
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/hostname: ocp-w-3.lab.ocp.lan
|
2023-03-14 04:32:53 -04:00
|
|
|
containers:
|
|
|
|
- name: inf-cu
|
|
|
|
resources: {}
|
|
|
|
env:
|
|
|
|
- name: RFSIMULATOR
|
|
|
|
value: server
|
|
|
|
- name: USE_SA_CU
|
|
|
|
value: "1"
|
|
|
|
- name: GNB_NAME
|
|
|
|
value: gnb-cu-03
|
|
|
|
- name: GNB_ID
|
|
|
|
value: "e03"
|
|
|
|
- name: TAC
|
|
|
|
value: "1"
|
|
|
|
- name: MCC
|
|
|
|
value: "208"
|
|
|
|
- name: MNC
|
|
|
|
value: "99"
|
|
|
|
- name: MNC_LENGTH
|
|
|
|
value: "2"
|
|
|
|
- name: NSSAI_SST
|
|
|
|
value: "1"
|
|
|
|
- name: AMF_IP_ADDRESS
|
|
|
|
value: "192.168.34.11"
|
|
|
|
- name: UPF_IP_ADDRESS
|
|
|
|
value: "192.168.34.10"
|
|
|
|
- name: GNB_NGA_IF_NAME
|
|
|
|
value: net1
|
|
|
|
- name: GNB_NGA_IP_ADDRESS
|
|
|
|
value: "192.168.34.14"
|
|
|
|
- name: GNB_NGU_IF_NAME
|
|
|
|
value: net1
|
|
|
|
- name: GNB_NGU_IP_ADDRESS
|
|
|
|
value: "192.168.34.14"
|
|
|
|
- name: F1_IF_NAME
|
|
|
|
value: "net2"
|
|
|
|
- name: F1_DU_IP_ADDRESS
|
|
|
|
value: "192.168.35.19"
|
|
|
|
- name: F1_CU_IP_ADDRESS
|
|
|
|
value: "192.168.35.18"
|
|
|
|
- name: F1_DU_D_PORT
|
|
|
|
value: "2153"
|
|
|
|
- name: F1_CU_D_PORT
|
|
|
|
value: "2153"
|
|
|
|
- name: USE_ADDITIONAL_OPTIONS
|
|
|
|
value: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
2023-04-16 02:59:21 -04:00
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
volumeMounts:
|
|
|
|
- name: dev-tun
|
|
|
|
readOnly: true
|
|
|
|
mountPath: /dev/net/tun
|
|
|
|
terminationMessagePolicy: File
|
|
|
|
image: '192.168.22.1:5000/oai-gnb'
|
2023-03-14 04:32:53 -04:00
|
|
|
serviceAccount: oai-sa
|
|
|
|
volumes:
|
|
|
|
- name: dev-tun
|
|
|
|
hostPath:
|
|
|
|
path: /dev/net/tun
|
|
|
|
type: ''
|
|
|
|
dnsPolicy: ClusterFirst
|
2023-04-16 02:59:21 -04:00
|
|
|
strategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
rollingUpdate:
|
|
|
|
maxUnavailable: 25%
|
|
|
|
maxSurge: 25%
|
|
|
|
revisionHistoryLimit: 10
|
|
|
|
progressDeadlineSeconds: 600
|