Helm chartv26.6.1App 26.6.0proprietary

Zainar 5G LCS stack (controller, LMF, amf-proxy, zps-light, optional gNB sim)

About this chart

lcs

Helm chart for the Zainar 5G LCS stack, version 26.6.1. Source of truth: controller/docker/deployment-release/docker-compose.yml.

Chart name lcs matches the OpenShift partner catalog path charts/partners/zainar/lcs. Catalog display name is Zainar LCS.

Requires Kubernetes >=1.27.0-0.

Components

values keyK8s ServicePortsCompose name
controllercontroller4000–4004controller
lmfPelmf-pe8080, 8081, 8888, 9878lmf_pe
amfProxyamf-proxy8082amf-proxy
zpsLightzps-light9094, 9095zps-light
dbdb5432db
lcsTestFrameworklcs-test-framework9000, 9001lcs_test_framework

Certified product images (Red Hat catalog / Pyxis):

values keyImageTag
controllerregistry.gitlab.com/zainar-suite/5g/controllerv0.11.0
lmfPeregistry.gitlab.com/zainar-suite/5g/production-lmf-and-pev0.3.1

Defaults pin the certified digests. lmfPe defaults to off so a bare helm install --wait can finish inside Red Hat chart-testing's 5-minute budget (the LMF image is ~1.7Gi). amfProxy, zpsLight, and lcsTestFramework also default to off (local-test images; they are not Red Hat certified). Enable the local-test extras with examples/values-local-test.yaml:

helm upgrade --install zainar-lcs ./charts/lcs -n zainar \
  -f examples/values-local-test.yaml -f values-secrets.yaml

Disable any other component with <key>.enabled: false.

Third-party images default to registry.redhat.io so chart-verifier images-are-certified skips them: UBI 9 for init waiters / helm test, and rhel9/postgresql-16 for db. The RH Postgres image reserves the postgres role; db.role (default controller) is the app user it creates. Controller still connects as secretEnv.DB_USER (postgres) because POSTGRESQL_ADMIN_PASSWORD is set from DB_PASSWORD. Data is stored at /var/lib/pgsql/data (not the Docker Hub path).

db.persistence.enabled defaults to false (emptyDir) so a bare OpenShift helm install --wait does not stall on a PVC. Set it true in production to create a PVC via volumeClaimTemplates:

helm upgrade --install zainar-lcs ./charts/lcs -n zainar \
  --set db.persistence.enabled=true

Secrets

When externalSecret.enabled is false (default), secretEnv is rendered as Secret zainar-lcs-app and mounted into the controller.

global.imagePullSecrets defaults to empty. Chart-testing on the OpenShift catalog cluster has no GitLab credentials, so registry.gitlab.com/zainar-suite/5g/controller must allow anonymous pull. Add gitlab-registry (create it out of band, or set registrySecret.enabled: true) only when pulling private overrides.

Inter-service DNS

Kubernetes DNS uses hyphens (lmf-pe), not compose underscores (lmf_pe). Values already use the Kubernetes names.

Tests

helm test runs templates/tests/test-connection.yaml, which curls http://controller:4002/healthz when controller.enabled is true.

Troubleshooting

  • global.waitForLoki defaults to false. Set it true only when Service loki:3100 is already in the namespace (observability chart).
  • Controller init still waits for db when db.enabled is true.
  • Stuck in Init: kubectl -n <ns> logs deploy/controller -c wait-for-dependencies (not the default container).
  • Keep LOCATION_PROVIDER=namf or lmf-pe crashes on direct nlmf callbacks.

Full catalog: docs/troubleshooting.md.

Deploy lcs with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lcs on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlcs is pinned at v26.6.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply