oai-openshift-cli-admin/deployments/trainee/gnb-du-02.yaml
2023-03-14 15:32:53 +07:00

116 lines
3.2 KiB
YAML

kind: DeploymentConfig
apiVersion: apps.openshift.io/v1
metadata:
annotations:
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-02"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-02"}]'
name: oai-du-02
generation: 28
namespace: infidel-test
labels:
app: oai-du-02
app.kubernetes.io/part-of: trainee-02
spec:
strategy:
type: Rolling
rollingParams:
updatePeriodSeconds: 1
intervalSeconds: 1
timeoutSeconds: 600
maxUnavailable: 0
maxSurge: 1
resources: {}
activeDeadlineSeconds: 21600
triggers:
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- inf-du
from:
kind: ImageStreamTag
namespace: infidel-test
name: 'oai-gnb-official:2023.w05'
- type: ConfigChange
replicas: 1
revisionHistoryLimit: 10
test: false
template:
metadata:
creationTimestamp: null
labels:
app: oai-inf-du-sa
annotations:
k8s.v1.cni.cncf.io/networks: oai-du-cu-02-net
spec:
restartPolicy: Always
serviceAccountName: oai-sa
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
securityContext: {}
containers:
- name: inf-du
resources: {}
volumeMounts:
- name: dev-tun
readOnly: true
mountPath: /dev/net/tun
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
securityContext:
add:
- SYS_ADMIN
- NET_ADMIN
privileged: true
env:
- name: RFSIMULATOR
value: server
- name: USE_SA_TDD_DU
value: "1"
- name: GNB_NAME
value: gnb-du-02
- name: GNB_ID
value: "e02"
- 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.13"
- name: GNB_NGU_IF_NAME
value: net1
- name: GNB_NGU_IP_ADDRESS
value: "192.168.34.13"
- name: F1_IF_NAME
value: "net2"
- name: F1_DU_IP_ADDRESS
value: "192.168.35.16"
- name: F1_CU_IP_ADDRESS
value: "192.168.35.15"
- 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
serviceAccount: oai-sa
volumes:
- name: dev-tun
hostPath:
path: /dev/net/tun
type: ''
dnsPolicy: ClusterFirst