Initial commit
This commit is contained in:
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: {}
|
||||
Reference in New Issue
Block a user