Initial commit
This commit is contained in:
Binary file not shown.
66
deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml
Normal file
66
deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: mysql
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: mysql
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: mysql
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-db-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: mysql
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: MYSQL_DATABASE
|
||||
value: oai_db
|
||||
- name: MYSQL_PASSWORD
|
||||
value: test
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: linux
|
||||
- name: MYSQL_USER
|
||||
value: test
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
image: mysql:8.0
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/tmp/mysql-healthcheck.sh"
|
||||
failureThreshold: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: mysql
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /docker-entrypoint-initdb.d/
|
||||
name: mysql-claim0
|
||||
- mountPath: /tmp/mysql-healthcheck.sh
|
||||
name: mysql-claim1
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: mysql-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: mysql-claim0
|
||||
- name: mysql-claim1
|
||||
persistentVolumeClaim:
|
||||
claimName: mysql-claim1
|
||||
status: {}
|
||||
117
deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml
Normal file
117
deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml
Normal file
@@ -0,0 +1,117 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-amf
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-amf
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-amf
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-amf-net, oai-amf-n2-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-amf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: NRF_FQDN
|
||||
value: oai-nrf
|
||||
- name: EXTERNAL_NRF
|
||||
value: "no"
|
||||
- name: EXTERNAL_AUSF
|
||||
value: "yes"
|
||||
- name: EXTERNAL_UDM
|
||||
value: "no"
|
||||
- name: AMF_INTERFACE_NAME_FOR_N11
|
||||
value: net1
|
||||
- name: AMF_INTERFACE_NAME_FOR_NGAP
|
||||
value: net2
|
||||
- name: AMF_SET_ID
|
||||
value: "1"
|
||||
- name: AUSF_FQDN
|
||||
value: oai-ausf
|
||||
- name: AUSF_IPV4_ADDRESS
|
||||
value: 192.168.33.18
|
||||
- name: MCC
|
||||
value: "208"
|
||||
- name: MNC
|
||||
value: "99"
|
||||
- name: PLMN_SUPPORT_MCC
|
||||
value: "208"
|
||||
- name: PLMN_SUPPORT_MNC
|
||||
value: "99"
|
||||
- name: PLMN_SUPPORT_TAC
|
||||
value: "0x0001"
|
||||
- name: REGION_ID
|
||||
value: "128"
|
||||
- name: SD_1
|
||||
value: "1"
|
||||
- name: SD_2
|
||||
value: "123"
|
||||
- name: SELECTED_0
|
||||
value: "true"
|
||||
- name: SERVED_GUAMI_AMF_SET_ID_0
|
||||
value: "1"
|
||||
- name: SERVED_GUAMI_AMF_SET_ID_1
|
||||
value: "1"
|
||||
- name: SERVED_GUAMI_MCC_0
|
||||
value: "208"
|
||||
- name: SERVED_GUAMI_MCC_1
|
||||
value: "460"
|
||||
- name: SERVED_GUAMI_MNC_0
|
||||
value: "99"
|
||||
- name: SERVED_GUAMI_MNC_1
|
||||
value: "11"
|
||||
- name: SERVED_GUAMI_REGION_ID_0
|
||||
value: "128"
|
||||
- name: SERVED_GUAMI_REGION_ID_1
|
||||
value: "10"
|
||||
- name: SMF_FQDN_0
|
||||
value: oai-smf
|
||||
- name: SMF_INSTANCE_ID_0
|
||||
value: "1"
|
||||
- name: SMF_IPV4_ADDR_0
|
||||
value: 192.168.33.12
|
||||
- name: SMF_FQDN_1
|
||||
value: oai-smf
|
||||
- name: SMF_INSTANCE_ID_1
|
||||
value: "2"
|
||||
- name: SMF_IPV4_ADDR_1
|
||||
value: 0.0.0.0
|
||||
- name: SST_0
|
||||
value: "1"
|
||||
- name: SST_1
|
||||
value: "1"
|
||||
- name: SST_2
|
||||
value: "222"
|
||||
- name: TZ
|
||||
value: Europe/paris
|
||||
- name: UDM_FQDN
|
||||
value: oai-udm
|
||||
- name: UDM_IPV4_ADDRESS
|
||||
value: 192.168.33.19
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
- name: USE_HTTP2
|
||||
value: "no"
|
||||
image: oaisoftwarealliance/oai-amf:v1.5.0
|
||||
name: oai-amf
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
@@ -0,0 +1,50 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-ausf
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-ausf
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-ausf
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-ausf-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-ausf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: AUSF_NAME
|
||||
value: OAI_AUSF
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SBI_IF_NAME
|
||||
value: net1
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
- name: UDM_FQDN
|
||||
value: oai-udm
|
||||
- name: UDM_IP_ADDRESS
|
||||
value: 192.168.33.19
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
image: oaisoftwarealliance/oai-ausf:v1.5.0
|
||||
name: oai-ausf
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
@@ -0,0 +1,52 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-ext-dn
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-ext-dn
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-ext-dn
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-dn-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-ext-dn
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- args:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- 'trap : SIGTERM SIGINT; sleep infinity & wait'
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- ' apt update; apt install -y procps iptables iproute2 iperf iputils-ping; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip route add 12.1.1.0/24 via 192.168.33.15 dev net1; ip route; sleep infinity'
|
||||
image: oaisoftwarealliance/trf-gen-cn5g:latest
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "ip r | grep 12.1.1"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: oai-ext-dn
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
134
deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml
Normal file
134
deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml
Normal file
@@ -0,0 +1,134 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-smf
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-smf
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-smf
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-smf-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-smf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: AMF_API_VERSION
|
||||
value: v1
|
||||
- name: AMF_FQDN
|
||||
value: oai-amf
|
||||
- name: AMF_IPV4_ADDRESS
|
||||
value: 192.168.33.11
|
||||
- name: DEFAULT_CSCF_IPV4_ADDRESS
|
||||
value: 127.0.0.1
|
||||
- name: DEFAULT_DNS_IPV4_ADDRESS
|
||||
value: 1.1.1.1
|
||||
- name: DEFAULT_DNS_SEC_IPV4_ADDRESS
|
||||
value: 8.8.8.8
|
||||
- name: DISCOVER_UPF
|
||||
value: "false"
|
||||
- name: DNN_NI0
|
||||
value: oai
|
||||
- name: DNN_NI1
|
||||
value: oai.ipv4
|
||||
- name: DNN_NI2
|
||||
value: default
|
||||
- name: DNN_NI3
|
||||
value: ims
|
||||
- name: DNN_RANGE0
|
||||
value: 12.1.1.151 - 12.1.1.253
|
||||
- name: DNN_RANGE1
|
||||
value: 12.1.1.51 - 12.1.1.150
|
||||
- name: DNN_RANGE2
|
||||
value: 12.1.1.2 - 12.1.1.50
|
||||
- name: DNN_RANGE3
|
||||
value: 14.1.1.2 - 14.1.1.253
|
||||
- name: INSTANCE
|
||||
value: "0"
|
||||
- name: ENABLE_USAGE_REPORTING
|
||||
value: "no"
|
||||
- name: NSSAI_SD0
|
||||
value: "0xFFFFFF"
|
||||
- name: NSSAI_SD1
|
||||
value: "1"
|
||||
- name: NSSAI_SD2
|
||||
value: "123"
|
||||
- name: NSSAI_SST0
|
||||
value: "1"
|
||||
- name: NSSAI_SST1
|
||||
value: "1"
|
||||
- name: NSSAI_SST2
|
||||
value: "222"
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SESSION_AMBR_DL0
|
||||
value: 400Mbps
|
||||
- name: SESSION_AMBR_DL1
|
||||
value: 200Mbps
|
||||
- name: SESSION_AMBR_DL2
|
||||
value: 100Mbps
|
||||
- name: SESSION_AMBR_UL0
|
||||
value: 200Mbps
|
||||
- name: SESSION_AMBR_UL1
|
||||
value: 100Mbps
|
||||
- name: SESSION_AMBR_UL2
|
||||
value: 50Mbps
|
||||
- name: SMF_INTERFACE_NAME_FOR_N4
|
||||
value: net1
|
||||
- name: SMF_INTERFACE_NAME_FOR_SBI
|
||||
value: net1
|
||||
- name: TYPE0
|
||||
value: IPv4
|
||||
- name: TYPE1
|
||||
value: IPv4
|
||||
- name: TYPE2
|
||||
value: IPv4
|
||||
- name: TYPE3
|
||||
value: IPv4v6
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
- name: UDM_FQDN
|
||||
value: oai-udm
|
||||
- name: USE_FQDN_UDM
|
||||
value: "no"
|
||||
- name: UDM_IPV4_ADDRESS
|
||||
value: 192.168.33.19
|
||||
- name: UE_MTU
|
||||
value: "1500"
|
||||
- name: UPF_FQDN_0
|
||||
value: oai-spgwu-tiny
|
||||
- name: UPF_IPV4_ADDRESS
|
||||
value: 192.168.33.15
|
||||
- name: USE_FQDN_UPF
|
||||
value: "no"
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
- name: USE_LOCAL_SUBSCRIPTION_INFO
|
||||
value: "yes"
|
||||
- name: USE_NETWORK_INSTANCE
|
||||
value: "yes"
|
||||
image: oaisoftwarealliance/oai-smf:develop
|
||||
name: oai-smf
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
hostAliases:
|
||||
- ip: "192.168.33.15"
|
||||
hostnames:
|
||||
- "oai-spgwu-tiny"
|
||||
status: {}
|
||||
@@ -0,0 +1,94 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-spgwu
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-spgwu
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-spgwu
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-upf-net, oai-upf-n3-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-spgwu
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: MCC
|
||||
value: "208"
|
||||
- name: MNC
|
||||
value: "99"
|
||||
- name: BYPASS_UL_PFCP_RULES
|
||||
value: "no"
|
||||
- name: DNN_0
|
||||
value: oai
|
||||
- name: DNN_1
|
||||
value: oai.ipv4
|
||||
- name: DNN_2
|
||||
value: default
|
||||
- name: ENABLE_5G_FEATURES
|
||||
value: "yes"
|
||||
- name: NETWORK_UE_IP
|
||||
value: 12.1.1.0/24
|
||||
- name: NETWORK_UE_NAT_OPTION
|
||||
value: "yes"
|
||||
- name: NSSAI_SD_0
|
||||
value: "0xffffff"
|
||||
- name: NSSAI_SD_1
|
||||
value: "1"
|
||||
- name: NSSAI_SD_2
|
||||
value: "123"
|
||||
- name: NSSAI_SST_0
|
||||
value: "1"
|
||||
- name: NSSAI_SST_1
|
||||
value: "1"
|
||||
- name: NSSAI_SST_2
|
||||
value: "222"
|
||||
- name: PGW_INTERFACE_NAME_FOR_SGI
|
||||
value: net1
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP
|
||||
value: net2
|
||||
- name: SGW_INTERFACE_NAME_FOR_SX
|
||||
value: net1
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
- name: UPF_FQDN_5G
|
||||
value: oai-spgwu-tiny
|
||||
- name: USE_FQDN_NRF
|
||||
value: "no"
|
||||
- name: NRF_FQDN
|
||||
value: oai-nrf
|
||||
- name: NRF_IPV4_ADDRESS
|
||||
value: 0.0.0.0
|
||||
- name: SPGWC0_IP_ADDRESS
|
||||
value: 192.168.34.10
|
||||
image: oaisoftwarealliance/oai-spgwu-tiny:v1.5.0
|
||||
name: oai-spgwu
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
- SYS_ADMIN
|
||||
drop:
|
||||
- ALL
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
50
deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml
Normal file
50
deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-udm
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-udm
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-udm
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-udm-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-udm
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SBI_IF_NAME
|
||||
value: net1
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
- name: UDM_NAME
|
||||
value: OAI_UDM
|
||||
- name: UDR_FQDN
|
||||
value: oai-udr
|
||||
- name: UDR_IP_ADDRESS
|
||||
value: 192.168.33.20
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
image: oaisoftwarealliance/oai-udm:v1.5.0
|
||||
name: oai-udm
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
56
deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml
Normal file
56
deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-udr
|
||||
app.kubernetes.io/part-of: CN-noNRF
|
||||
name: oai-udr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-udr
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-udr-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/demo-oai-public-net: "true"
|
||||
io.kompose.service: oai-udr
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: MYSQL_DB
|
||||
value: oai_db
|
||||
- name: MYSQL_IPV4_ADDRESS
|
||||
value: 192.168.33.16
|
||||
- name: MYSQL_PASS
|
||||
value: test
|
||||
- name: MYSQL_USER
|
||||
value: test
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
- name: UDR_INTERFACE_NAME_FOR_NUDR
|
||||
value: net1
|
||||
- name: UDR_NAME
|
||||
value: OAI_UDR
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
- name: WAIT_MYSQL
|
||||
value: "120"
|
||||
image: oaisoftwarealliance/oai-udr:v1.5.0
|
||||
name: oai-udr
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
63
deployments/CoreNetwork/default/mysql-deployment.yaml
Normal file
63
deployments/CoreNetwork/default/mysql-deployment.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: mysql
|
||||
name: mysql
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: mysql
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: mysql
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: MYSQL_DATABASE
|
||||
value: oai_db
|
||||
- name: MYSQL_PASSWORD
|
||||
value: test
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
value: linux
|
||||
- name: MYSQL_USER
|
||||
value: test
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
image: mysql:5.7
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/tmp/mysql-healthcheck.sh"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-mysql
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /docker-entrypoint-initdb.d/oai_db.sql
|
||||
name: mysql-claim0
|
||||
- mountPath: /tmp/mysql-healthcheck.sh
|
||||
name: mysql-claim1
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: mysql-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: mysql-claim0
|
||||
- name: mysql-claim1
|
||||
persistentVolumeClaim:
|
||||
claimName: mysql-claim1
|
||||
status: {}
|
||||
144
deployments/CoreNetwork/default/oai-amf-deployment.yaml
Normal file
144
deployments/CoreNetwork/default/oai-amf-deployment.yaml
Normal file
@@ -0,0 +1,144 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-amf
|
||||
app.kubernetes.io/part-of: test-deployment
|
||||
name: oai-amf-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-amf
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
k8s.v1.cni.cncf.io/networks: oai-amf-net, oai-amf-n2-net
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: oai-amf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: AMF_INTERFACE_NAME_FOR_N11
|
||||
value: net1
|
||||
- name: AMF_INTERFACE_NAME_FOR_NGAP
|
||||
value: net2
|
||||
- name: AMF_SET_ID
|
||||
value: "1"
|
||||
- name: AUSF_API_VERSION
|
||||
value: v1
|
||||
- name: AUSF_FQDN
|
||||
value: localhost
|
||||
- name: AUSF_IPV4_ADDRESS
|
||||
value: 0.0.0.0
|
||||
- name: AUSF_PORT
|
||||
value: "80"
|
||||
- name: EXTERNAL_AUSF
|
||||
value: "no"
|
||||
- name: INSTANCE
|
||||
value: "0"
|
||||
- name: MCC
|
||||
value: "208"
|
||||
- name: MNC
|
||||
value: "99"
|
||||
- name: MYSQL_DB
|
||||
value: oai_db
|
||||
- name: MYSQL_PASS
|
||||
value: linux
|
||||
- name: MYSQL_SERVER
|
||||
value: 192.168.33.16
|
||||
- name: MYSQL_USER
|
||||
value: root
|
||||
- name: NF_REGISTRATION
|
||||
value: "no"
|
||||
- name: EXTERNAL_NRF
|
||||
value: "no"
|
||||
- name: NRF_API_VERSION
|
||||
value: v1
|
||||
- name: NRF_FQDN
|
||||
value: oai-nrf
|
||||
- name: NRF_IPV4_ADDRESS
|
||||
value: 0.0.0.0
|
||||
- name: NRF_PORT
|
||||
value: "80"
|
||||
- name: OPERATOR_KEY
|
||||
value: c42449363bbad02b66d16bc975d77cc1
|
||||
- name: PID_DIRECTORY
|
||||
value: /var/run
|
||||
- name: PLMN_SUPPORT_MCC
|
||||
value: "208"
|
||||
- name: PLMN_SUPPORT_MNC
|
||||
value: "99"
|
||||
- name: PLMN_SUPPORT_TAC
|
||||
value: "0x0001"
|
||||
- name: REGION_ID
|
||||
value: "128"
|
||||
- name: SD_0
|
||||
value: "0xffffff"
|
||||
- name: SELECTED_0
|
||||
value: "true"
|
||||
- name: SELECTED_1
|
||||
value: "false"
|
||||
- name: SERVED_GUAMI_AMF_SET_ID_0
|
||||
value: "1"
|
||||
- name: SERVED_GUAMI_AMF_SET_ID_1
|
||||
value: "1"
|
||||
- name: SERVED_GUAMI_MCC_0
|
||||
value: "208"
|
||||
- name: SERVED_GUAMI_MCC_1
|
||||
value: "460"
|
||||
- name: SERVED_GUAMI_MNC_0
|
||||
value: "99"
|
||||
- name: SERVED_GUAMI_MNC_1
|
||||
value: "11"
|
||||
- name: SERVED_GUAMI_REGION_ID_0
|
||||
value: "128"
|
||||
- name: SERVED_GUAMI_REGION_ID_1
|
||||
value: "10"
|
||||
- name: USE_FQDN_SMF
|
||||
value: "no"
|
||||
- name: SMF_FQDN
|
||||
value: oai-smf-svc
|
||||
- name: SMF_FQDN_0
|
||||
value: oai-smf-svc
|
||||
- name: SMF_HTTP_VERSION
|
||||
value: v1
|
||||
- name: SMF_INSTANCE_ID
|
||||
value: "0"
|
||||
- name: SMF_IPV4_ADDR_0
|
||||
value: "192.168.33.12"
|
||||
- name: SMF_SELECTION
|
||||
value: "no"
|
||||
- name: SST_0
|
||||
value: "1"
|
||||
- name: TZ
|
||||
value: Asia/Jakarta
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
image: 'oaisoftwarealliance/oai-amf:latest'
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/openair-amf/bin/amf-healthcheck.sh"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 15
|
||||
name: rfsim5g-oai-amf
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: oai-amf-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: oai-amf-claim0
|
||||
status: {}
|
||||
48
deployments/CoreNetwork/default/oai-ext-dn-deployment.yaml
Normal file
48
deployments/CoreNetwork/default/oai-ext-dn-deployment.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-ext-dn
|
||||
app.kubernetes.io/part-of: test-deployment
|
||||
name: oai-ext-dn-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-ext-dn
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-dn-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-traffic_net-net: "true"
|
||||
io.kompose.service: oai-ext-dn
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- ' apt update; apt install -y procps iptables iproute2 iperf iputils-ping; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip route add 12.1.1.0/24 via 192.168.33.15 dev net1; sleep infinity'
|
||||
image: ubuntu:bionic
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "ping -c 2 192.168.33.15"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-ext-dn
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
72
deployments/CoreNetwork/default/oai-gnb-deployment.yaml
Normal file
72
deployments/CoreNetwork/default/oai-gnb-deployment.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-gnb
|
||||
name: oai-gnb
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-gnb
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: oai-gnb
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: AMF_IP_ADDRESS
|
||||
value: 192.168.71.132
|
||||
- name: GNB_NAME
|
||||
value: gnb-rfsim
|
||||
- name: GNB_NGA_IF_NAME
|
||||
value: eth0
|
||||
- name: GNB_NGA_IP_ADDRESS
|
||||
value: 192.168.71.140
|
||||
- name: GNB_NGU_IF_NAME
|
||||
value: eth0
|
||||
- name: GNB_NGU_IP_ADDRESS
|
||||
value: 192.168.71.140
|
||||
- name: MCC
|
||||
value: "208"
|
||||
- name: MNC
|
||||
value: "99"
|
||||
- name: MNC_LENGTH
|
||||
value: "2"
|
||||
- name: NSSAI_SST
|
||||
value: "1"
|
||||
- name: RFSIMULATOR
|
||||
value: server
|
||||
- name: SDR_ADDRS
|
||||
value: serial=XXXXXXX
|
||||
- name: TAC
|
||||
value: "1"
|
||||
- name: USE_ADDITIONAL_OPTIONS
|
||||
value: --sa -E --rfsim --log_config.global_log_options level,nocolor,time
|
||||
- name: USE_SA_TDD_MONO
|
||||
value: "yes"
|
||||
image: oai-gnb:develop
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "pgrep nr-softmodem"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-gnb
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
56
deployments/CoreNetwork/default/oai-nr-ue-deployment.yaml
Normal file
56
deployments/CoreNetwork/default/oai-nr-ue-deployment.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-nr-ue
|
||||
name: oai-nr-ue
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-nr-ue
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: oai-nr-ue
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: DNN
|
||||
value: oai
|
||||
- name: FULL_IMSI
|
||||
value: "208990100001100"
|
||||
- name: FULL_KEY
|
||||
value: fec86ba6eb707ed08905757b1bb44b8f
|
||||
- name: NSSAI_SST
|
||||
value: "1"
|
||||
- name: OPC
|
||||
value: C42449363BBAD02B66D16BC975D77CC1
|
||||
- name: RFSIMULATOR
|
||||
value: 192.168.71.140
|
||||
- name: USE_ADDITIONAL_OPTIONS
|
||||
value: -E --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,time
|
||||
image: oai-nr-ue:develop
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "pgrep nr-uesoftmodem"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-nr-ue
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
56
deployments/CoreNetwork/default/oai-nr-ue2-deployment.yaml
Normal file
56
deployments/CoreNetwork/default/oai-nr-ue2-deployment.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-nr-ue2
|
||||
name: oai-nr-ue2
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-nr-ue2
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: oai-nr-ue2
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: DNN
|
||||
value: oai
|
||||
- name: FULL_IMSI
|
||||
value: "208990100001101"
|
||||
- name: FULL_KEY
|
||||
value: fec86ba6eb707ed08905757b1bb44b8f
|
||||
- name: NSSAI_SST
|
||||
value: "1"
|
||||
- name: OPC
|
||||
value: C42449363BBAD02B66D16BC975D77CC1
|
||||
- name: RFSIMULATOR
|
||||
value: 192.168.71.140
|
||||
- name: USE_ADDITIONAL_OPTIONS
|
||||
value: -E --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,time
|
||||
image: oai-nr-ue:develop
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "pgrep nr-uesoftmodem"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-nr-ue2
|
||||
resources: {}
|
||||
securityContext:
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
status: {}
|
||||
64
deployments/CoreNetwork/default/oai-nrf-deployment.yaml
Normal file
64
deployments/CoreNetwork/default/oai-nrf-deployment.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-nrf
|
||||
app.kubernetes.io/part-of: test-deployment
|
||||
name: oai-nrf-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-nrf
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-nrf-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.network/oai-nrf-net: "true"
|
||||
io.kompose.service: oai-nrf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: INSTANCE
|
||||
value: "0"
|
||||
- name: NRF_API_VERSION
|
||||
value: v1
|
||||
- name: NRF_INTERFACE_HTTP2_PORT_FOR_SBI
|
||||
value: "9090"
|
||||
- name: NRF_INTERFACE_NAME_FOR_SBI
|
||||
value: net1
|
||||
- name: NRF_INTERFACE_PORT_FOR_SBI
|
||||
value: "80"
|
||||
- name: PID_DIRECTORY
|
||||
value: /var/run
|
||||
image: oaisoftwarealliance/oai-nrf:latest
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/openair-nrf/bin/nrf-healthcheck.sh"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-nrf
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /openair-nrf/bin/nrf-healthcheck.sh
|
||||
name: oai-nrf-claim0
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: oai-nrf-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: oai-nrf-claim0
|
||||
status: {}
|
||||
124
deployments/CoreNetwork/default/oai-smf-deployment.yaml
Normal file
124
deployments/CoreNetwork/default/oai-smf-deployment.yaml
Normal file
@@ -0,0 +1,124 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-smf
|
||||
app.kubernetes.io/part-of: test-deployment
|
||||
name: oai-smf-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-smf
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-smf-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.service: oai-smf
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: AMF_API_VERSION
|
||||
value: v1
|
||||
- name: AMF_FQDN
|
||||
value: oai-amf
|
||||
- name: AMF_IPV4_ADDRESS
|
||||
value: 192.168.33.11
|
||||
- name: AMF_PORT
|
||||
value: "80"
|
||||
- name: DEFAULT_DNS_IPV4_ADDRESS
|
||||
value: 172.21.3.100
|
||||
- name: DEFAULT_DNS_SEC_IPV4_ADDRESS
|
||||
value: 4.4.4.4
|
||||
- name: DISCOVER_UPF
|
||||
value: "no"
|
||||
- name: DNN_NI0
|
||||
value: oai
|
||||
- name: DNN_RANGE0
|
||||
value: 12.1.1.2 - 12.1.1.127
|
||||
- name: INSTANCE
|
||||
value: "0"
|
||||
- name: NRF_API_VERSION
|
||||
value: v1
|
||||
- name: NRF_FQDN
|
||||
value: oai-nrf
|
||||
- name: NRF_IPV4_ADDRESS
|
||||
value: 192.168.33.14
|
||||
- name: NRF_PORT
|
||||
value: "80"
|
||||
- name: NSSAI_SD0
|
||||
value: "0xFFFFFF"
|
||||
- name: NSSAI_SST0
|
||||
value: "1"
|
||||
- name: PID_DIRECTORY
|
||||
value: /var/run
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SESSION_AMBR_DL0
|
||||
value: 400Mbps
|
||||
- name: SESSION_AMBR_UL0
|
||||
value: 200Mbps
|
||||
- name: SMF_API_VERSION
|
||||
value: v1
|
||||
- name: SMF_INTERFACE_HTTP2_PORT_FOR_SBI
|
||||
value: "9090"
|
||||
- name: SMF_INTERFACE_NAME_FOR_N4
|
||||
value: net1
|
||||
- name: SMF_INTERFACE_NAME_FOR_SBI
|
||||
value: net1
|
||||
- name: SMF_INTERFACE_PORT_FOR_SBI
|
||||
value: "80"
|
||||
- name: TYPE0
|
||||
value: IPv4
|
||||
- name: TZ
|
||||
value: Asia/jakarta
|
||||
- name: UDM_API_VERSION
|
||||
value: v1
|
||||
# - name: UPF_FQDN_0
|
||||
# value: "oai-spgwu"
|
||||
- name: UPF_IPV4_ADDRESS
|
||||
value: "192.168.33.15"
|
||||
- name: USE_FQDN_DNS
|
||||
value: "no"
|
||||
- name: USE_FQDN_UPF
|
||||
value: "no"
|
||||
# - name: DEFAULT_CSCF_IPV4_ADDRESS
|
||||
# value: "127.0.0.1"
|
||||
- name: USE_LOCAL_SUBSCRIPTION_INFO
|
||||
value: "yes"
|
||||
- name: USE_NETWORK_INSTANCE
|
||||
value: "no"
|
||||
- name: UE_MTU
|
||||
value: "1500"
|
||||
|
||||
image: oaisoftwarealliance/oai-smf:v1.5.0
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/openair-smf/bin/smf-healthcheck.sh"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-smf
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /openair-smf/bin/smf-healthcheck.sh
|
||||
name: oai-smf-claim0
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: oai-smf-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: oai-smf-claim0
|
||||
status: {}
|
||||
111
deployments/CoreNetwork/default/oai-spgwu-deployment.yaml
Normal file
111
deployments/CoreNetwork/default/oai-spgwu-deployment.yaml
Normal file
@@ -0,0 +1,111 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.service: oai-spgwu
|
||||
app.kubernetes.io/part-of: test-deployment
|
||||
name: oai-spgwu-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
io.kompose.service: oai-spgwu
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
kompose.version: 1.26.0 (40646f47)
|
||||
k8s.v1.cni.cncf.io/networks: oai-upf-net, oai-upf-n3-net
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
io.kompose.network/rfsim5g-oai-public-net: "true"
|
||||
io.kompose.network/rfsim5g-oai-traffic-net: "true"
|
||||
io.kompose.service: oai-spgwu
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- env:
|
||||
- name: BYPASS_UL_PFCP_RULES
|
||||
value: "no"
|
||||
- name: DNN_0
|
||||
value: oai
|
||||
- name: ENABLE_5G_FEATURES
|
||||
value: "yes"
|
||||
- name: GTP_EXTENSION_HEADER_PRESENT
|
||||
value: "yes"
|
||||
- name: GW_ID
|
||||
value: "1"
|
||||
- name: MCC
|
||||
value: "208"
|
||||
- name: MNC
|
||||
value: "99"
|
||||
- name: MNC03
|
||||
value: "099"
|
||||
- name: NETWORK_UE_IP
|
||||
value: 12.1.1.0/24
|
||||
- name: NETWORK_UE_NAT_OPTION
|
||||
value: "yes"
|
||||
- name: NRF_API_VERSION
|
||||
value: v1
|
||||
- name: NRF_FQDN
|
||||
value: oai-nrf
|
||||
- name: NRF_IPV4_ADDRESS
|
||||
value: 192.168.33.14
|
||||
- name: NRF_PORT
|
||||
value: "80"
|
||||
- name: NSSAI_SD_0
|
||||
value: "0xffffff"
|
||||
- name: NSSAI_SST_0
|
||||
value: "1"
|
||||
- name: PGW_INTERFACE_NAME_FOR_SGI
|
||||
value: net1
|
||||
- name: PID_DIRECTORY
|
||||
value: /var/run
|
||||
- name: REALM
|
||||
value: openairinterface.org
|
||||
- name: REGISTER_NRF
|
||||
value: "no"
|
||||
- name: SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP
|
||||
value: net2
|
||||
- name: SGW_INTERFACE_NAME_FOR_SX
|
||||
value: net1
|
||||
# - name: SPGWC0_IP_ADDRESS
|
||||
# value: 192.168.33.12
|
||||
- name: TAC
|
||||
value: "1"
|
||||
- name: TZ
|
||||
value: Europe/Paris
|
||||
# - name: UPF_FQDN_5G
|
||||
# value: oai-spgwu
|
||||
- name: USE_FQDN_NRF
|
||||
value: "no"
|
||||
image: oaisoftwarealliance/oai-spgwu-tiny:v1.5.0
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash -c "/openair-spgwu-tiny/bin/spgwu-healthcheck.sh"
|
||||
failureThreshold: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
name: rfsim5g-oai-spgwu
|
||||
resources: {}
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- SYS_ADMIN
|
||||
- NET_ADMIN
|
||||
drop:
|
||||
- ALL
|
||||
privileged: true
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: oai-spgwu-claim0
|
||||
persistentVolumeClaim:
|
||||
claimName: oai-spgwu-claim0
|
||||
status: {}
|
||||
119
deployments/src/gnb_access_deployment.yaml
Normal file
119
deployments/src/gnb_access_deployment.yaml
Normal file
@@ -0,0 +1,119 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"@part_type@","name":"@part_of@"},{"apiVersion":"apps/v1","kind":"@part_type@","name":"@part_of@"}]'
|
||||
name: oai-@trainee@
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-@trainee@
|
||||
app.kubernetes.io/part-of: trainee-@role@
|
||||
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-@mode@
|
||||
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-@mode@-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: @net@
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
containers:
|
||||
- name: inf-@mode@
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- ' apt update; apt install -y vim tmux; ip route; sleep infinity'
|
||||
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_@mode_cap@
|
||||
value: "1"
|
||||
- name: GNB_NAME
|
||||
value: gnb-@trainee@
|
||||
- name: GNB_ID
|
||||
value: "e@role@"
|
||||
- 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: "@ip_cu_amf@"
|
||||
- name: GNB_NGU_IF_NAME
|
||||
value: net1
|
||||
- name: GNB_NGU_IP_ADDRESS
|
||||
value: "@ip_cu_amf@"
|
||||
- name: F1_IF_NAME
|
||||
value: "net2"
|
||||
- name: F1_DU_IP_ADDRESS
|
||||
value: "@ip_du_cu@"
|
||||
- name: F1_CU_IP_ADDRESS
|
||||
value: "@ip_cu_du@"
|
||||
- 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
|
||||
|
||||
115
deployments/src/template_deployment.yaml
Normal file
115
deployments/src/template_deployment.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"@part_type@","name":"@part_of@"},{"apiVersion":"apps/v1","kind":"@part_type@","name":"@part_of@"}]'
|
||||
name: oai-@trainee@
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-@trainee@
|
||||
app.kubernetes.io/part-of: trainee-@role@
|
||||
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-@mode@
|
||||
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-@mode@-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: @net@
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
containers:
|
||||
- name: inf-@mode@
|
||||
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_@mode_cap@
|
||||
value: "1"
|
||||
- name: GNB_NAME
|
||||
value: gnb-@trainee@
|
||||
- name: GNB_ID
|
||||
value: "e@role@"
|
||||
- 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: "@ip_cu_amf@"
|
||||
- name: GNB_NGU_IF_NAME
|
||||
value: net1
|
||||
- name: GNB_NGU_IP_ADDRESS
|
||||
value: "@ip_cu_amf@"
|
||||
- name: F1_IF_NAME
|
||||
value: "net2"
|
||||
- name: F1_DU_IP_ADDRESS
|
||||
value: "@ip_du_cu@"
|
||||
- name: F1_CU_IP_ADDRESS
|
||||
value: "@ip_cu_du@"
|
||||
- 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
|
||||
|
||||
81
deployments/src/template_ue_deployment.yaml
Normal file
81
deployments/src/template_ue_deployment.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"@part_type@","name":"@part_of@"},{"apiVersion":"apps/v1","kind":"@part_type@","name":"@part_of@"}]'
|
||||
name: oai-nr-ue-@role@
|
||||
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-@role@
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/part-of: trainee-@role@
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-@role@
|
||||
creationTimestamp: null
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: '@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: '@imsi_now@'
|
||||
- name: FULL_KEY
|
||||
value: @ki_now@
|
||||
- name: NSSAI_SST
|
||||
value: '1'
|
||||
- name: OPC
|
||||
value: @opc_now@
|
||||
- name: RFSIMULATOR
|
||||
value: @ip_du_cu@
|
||||
- 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: 'oaisoftwarealliance/oai-nr-ue:develop'
|
||||
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
|
||||
115
deployments/trainee/gnb-cu-01.yaml
Normal file
115
deployments/trainee/gnb-cu-01.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
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-01
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-cu-01
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
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-cu
|
||||
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-cu-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-cu-amf-01-net,oai-cu-du-01-net
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
containers:
|
||||
- name: inf-cu
|
||||
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_CU
|
||||
value: "1"
|
||||
- name: GNB_NAME
|
||||
value: gnb-cu-01
|
||||
- name: GNB_ID
|
||||
value: "e01"
|
||||
- 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.12"
|
||||
- name: GNB_NGU_IF_NAME
|
||||
value: net1
|
||||
- name: GNB_NGU_IP_ADDRESS
|
||||
value: "192.168.34.12"
|
||||
- name: F1_IF_NAME
|
||||
value: "net2"
|
||||
- name: F1_DU_IP_ADDRESS
|
||||
value: "192.168.35.13"
|
||||
- name: F1_CU_IP_ADDRESS
|
||||
value: "192.168.35.12"
|
||||
- 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
|
||||
|
||||
115
deployments/trainee/gnb-cu-02.yaml
Normal file
115
deployments/trainee/gnb-cu-02.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
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-02
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-cu-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-cu
|
||||
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-cu-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-cu-amf-02-net,oai-cu-du-02-net
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
containers:
|
||||
- name: inf-cu
|
||||
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_CU
|
||||
value: "1"
|
||||
- name: GNB_NAME
|
||||
value: gnb-cu-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
|
||||
|
||||
115
deployments/trainee/gnb-cu-03.yaml
Normal file
115
deployments/trainee/gnb-cu-03.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
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
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-cu-03
|
||||
app.kubernetes.io/part-of: trainee-03
|
||||
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-cu
|
||||
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-cu-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-cu-amf-03-net,oai-cu-du-03-net
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
containers:
|
||||
- name: inf-cu
|
||||
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_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
|
||||
serviceAccount: oai-sa
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
type: ''
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
115
deployments/trainee/gnb-du-01.yaml
Normal file
115
deployments/trainee/gnb-du-01.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-01"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-01"}]'
|
||||
name: oai-du-01
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-du-01
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
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-01-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-01
|
||||
- name: GNB_ID
|
||||
value: "e01"
|
||||
- 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.12"
|
||||
- name: GNB_NGU_IF_NAME
|
||||
value: net1
|
||||
- name: GNB_NGU_IP_ADDRESS
|
||||
value: "192.168.34.12"
|
||||
- name: F1_IF_NAME
|
||||
value: "net2"
|
||||
- name: F1_DU_IP_ADDRESS
|
||||
value: "192.168.35.13"
|
||||
- name: F1_CU_IP_ADDRESS
|
||||
value: "192.168.35.12"
|
||||
- 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
|
||||
|
||||
115
deployments/trainee/gnb-du-02.yaml
Normal file
115
deployments/trainee/gnb-du-02.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
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
|
||||
|
||||
115
deployments/trainee/gnb-du-03.yaml
Normal file
115
deployments/trainee/gnb-du-03.yaml
Normal file
@@ -0,0 +1,115 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-03"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-03"}]'
|
||||
name: oai-du-03
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-du-03
|
||||
app.kubernetes.io/part-of: trainee-03
|
||||
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-03-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-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
|
||||
serviceAccount: oai-sa
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
type: ''
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
81
deployments/trainee/gnb-ue-01.yaml
Normal file
81
deployments/trainee/gnb-ue-01.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-01"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-01"}]'
|
||||
name: oai-nr-ue-01
|
||||
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
creationTimestamp: null
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: 'oai-ue-du-01-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: '208990200000001'
|
||||
- name: FULL_KEY
|
||||
value: fec86ba6eb707ed08905757b1bb44b8f
|
||||
- name: NSSAI_SST
|
||||
value: '1'
|
||||
- name: OPC
|
||||
value: c42449363bbad02b66d16bc975d77cc1
|
||||
- name: RFSIMULATOR
|
||||
value: 192.168.35.13
|
||||
- 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: 'oaisoftwarealliance/oai-nr-ue:develop'
|
||||
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
|
||||
81
deployments/trainee/gnb-ue-02.yaml
Normal file
81
deployments/trainee/gnb-ue-02.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
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
|
||||
image: 'oaisoftwarealliance/oai-nr-ue:develop'
|
||||
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
|
||||
81
deployments/trainee/gnb-ue-03.yaml
Normal file
81
deployments/trainee/gnb-ue-03.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-03"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-03"}]'
|
||||
name: oai-nr-ue-03
|
||||
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-03
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/part-of: trainee-03
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/part-of: trainee-03
|
||||
creationTimestamp: null
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: 'oai-ue-du-03-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: '208990200000003'
|
||||
- name: FULL_KEY
|
||||
value: fec86ba6eb707ed08905757b1bb44b8f
|
||||
- name: NSSAI_SST
|
||||
value: '1'
|
||||
- name: OPC
|
||||
value: c42449363bbad02b66d16bc975d77cc1
|
||||
- name: RFSIMULATOR
|
||||
value: 192.168.35.19
|
||||
- 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: 'oaisoftwarealliance/oai-nr-ue:develop'
|
||||
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
|
||||
Reference in New Issue
Block a user