Completely new helm chart for all the network functions
Compare changes
- Sagar Arora authored
+ 79
− 35
@@ -29,12 +29,13 @@ OAI 5G core network have different network functions which can be used invidiual
The helm charts can be used on any production grade kubernetes cluster or even vanilla kubernetes we tested on a single node 4 CPU minikube cluster with docker virtualization environment. In our testing environment we deploy these charts on our inhouse Openshift cluster the cluster information can be found below.
The helm charts can be used on any production grade kubernetes cluster or even vanilla kubernetes. We have also tested on a single node 4 CPU minikube cluster with docker virtualization environment. In our testing environment we deploy these charts on our inhouse Openshift cluster the cluster information can be found below.
@@ -42,7 +43,7 @@ The helm charts can be used on any production grade kubernetes cluster or even v
@@ -83,9 +84,9 @@ testing-pod.yaml
@@ -101,7 +102,7 @@ oai-5g-basic/
In the `values.yaml` file we have put only those configuration parameters which we think are really necessary and they should be changed based on PLMN, DNN and sim card information. In case you want to change some other parameters we suggest you go in the helm charts of the network function and do the change there.
@@ -144,6 +145,7 @@ or
@@ -151,17 +153,28 @@ Network function discovers each-other using NRF and instead of using the ip-addr
*For example: AMF registers with NRF using NRF FQDN (`oai-nrf-svc.oai.svc.cluster.local`). This way we can get rid of any static ip-address configuration. Though we are still keeping the fields where we are mentioning ip-addresses for example `nrfIpv4Addr` in amf values.yaml but that is not being used if `USE_FQDN_DNS` is set to `true`*
To reduce the complexity of this tutorial we will provide only one interface for every network function. This type of setting is not encouraged for testing the core network. Generally AMF, SMF and UPF require multiple interface those interfaces can be configured using multus CNI. You can configure the extra interfaces inside parent charts of basic, mini or slicing scenario or inside individual network function.
@@ -246,7 +259,7 @@ Once the configuration is finished the charts can be deployed with a user who ha
@@ -282,10 +295,8 @@ $: helm spray .
@@ -296,11 +307,11 @@ This command can take around 5-7 mins depending on your network speed and cluste
@@ -337,28 +348,30 @@ config:
@@ -384,7 +397,7 @@ config:
@@ -395,29 +408,27 @@ $: sed -i 's/rfSimulator: "172.17.0.9"/rfSimulator: '"$GNB_eth0_IP"'/g' oai-nr-u
@@ -431,7 +442,17 @@ rtt min/avg/max/mdev = 12.513/21.352/29.042/7.031 ms
All the OAI containers run the network function process as they are root inside the container in the docker engine this is not a problem because by default user is root inside container. But incase of podman in openshift, the containers run as non root users. Some containers like SPGWU, gnb and nr-ue and the tcpdump container to capture packets are privileged containers. In this case in `specs` of these pods the `privilaged` flag should be true.
@@ -467,3 +488,26 @@ roleRef: