View on GitHub Star

Gradiant 5G Charts

A curated collection of 5G/6G related Helm Charts

Open5GS and UERANSIM: two simulated UEs

This disposable lab registers two UEs, establishes their PDU sessions, and sends traffic through both UE tunnels. No radio hardware is required. This does not validate a production deployment, legacy EPC, or every Kubernetes distribution.

Validated: 2026-11-23T14:41:34.224718+00:00, Open5GS chart 2.4.1, UERANSIM chart 0.2.6. Validation run and recorded environment, checks and image digests.

Prerequisites

Use a Linux x86-64 host with Docker, Kind 0.33.0, kubectl 1.37 and Helm 4.3, Bash, Python 3, curl, Git and the host ca-certificates package (with readable /etc/ssl/certs/ca-certificates.crt). Allow at least 4 CPUs and 8 GiB available memory for the lab. The automated reference environment is Ubuntu 22.04 on a GitHub hosted runner. The host kernel must support SCTP and TUN; MongoDB 8.0 must also support that kernel. The runner uses the Ubuntu 22.04 kernel line.

The host needs outbound HTTPS to pull packages/images and to reach https://example.com/ for the connectivity checks. The simulated UE pod is privileged: use only a disposable lab cluster where this is permitted. MongoDB is ephemeral; the subscriber keys in these values are public test credentials. Do not use these values to upgrade an existing database.

Get the exact tested instructions

git clone https://github.com/Gradiant/5g-charts.git
cd 5g-charts
git checkout 442da6b17a7cbdec220554f130fc5a478b6adfa7
export KUBECONFIG="$PWD/reports/tutorial-kubeconfig"
mkdir -p reports
kind create cluster --name 5g-tutorial --wait 120s \
  --image kindest/node:v1.37.0@sha256:a1ed56cfb0e7b93589bdf97c8cd566405a265939e3620fc4f5de89adff580ae5 \
  --kubeconfig "$KUBECONFIG"

Keep this kubeconfig in the same shell for every following command. Use a new cluster: the scripts refuse contexts other than kind-5g-tutorial.

Install the published charts

bash tutorials/open5gs-ueransim/tutorial.sh install

The script downloads both charts from oci://registry-1.docker.io/gradiantcharts at the versions in versions.json, then uses helm upgrade --install --wait with the two checked-in values files. Those are the same commands used in validation.

Verify the complete connection

bash tutorials/open5gs-ueransim/tutorial.sh verify

This requires separate successful registration and PDU-session log entries for each UE, addresses on uesimtun0 and uesimtun1, and a successful IPv4 HTTPS request to https://example.com/ explicitly bound to each tunnel. The response must contain Example Domain; curl is not allowed to use a proxy or fall back to the pod’s normal interface. It also queries MongoDB using mongosh, adds and verifies a third subscriber, and checks the WebUI HTTP page. Pods being Ready alone is not sufficient.

The published UERANSIM image does not provide the CA file expected by curl. The script copies the host’s CA bundle to /tmp/tutorial-ca-certificates.crt inside the disposable UE pod and passes it explicitly to curl. TLS certificate verification remains enabled; the bundle hash is recorded in the reports.

You may additionally run ping -I uesimtun0 8.8.8.8 inside the UE pod when the host network permits outbound ICMP. Ping is not the automated traffic criterion.

For interactive access, run in another terminal with the same kubeconfig:

kubectl -n open5gs-tutorial port-forward service/open5gs-webui 9999:9999

Open http://localhost:9999. Automated validation checks HTTP access, not the interactive login or subscriber form. Those are not claimed as validated steps.

On a failure, preserve the environment while inspecting the reports:

bash tutorials/open5gs-ueransim/tutorial.sh diagnostics

Logs and evidence are stored under reports/tutorial-ueransim/. A failed check exits nonzero; do not treat a partly working deployment as a successful run.

Clean up

bash tutorials/open5gs-ueransim/tutorial.sh clean
kind delete cluster --name 5g-tutorial

The first command uninstalls both releases, verifies their pods are gone and records the validation result. The second deletes the disposable cluster and its ephemeral database. It does not delete any other cluster.