ella-core

by joaquinito2051

Helm chartv1.23.0App v1.23.0

Ella Core, a 5G and 4G mobile core network.

About this chart

Ella Core Helm Chart

Ella Core is a 5G and 4G mobile core network. This chart deploys Ella Core as a standalone node or as a three-node high-availability cluster.

Prerequisites

The cluster must meet the Kubernetes requirements.

Install

kubectl create namespace ella
kubectl label namespace ella pod-security.kubernetes.io/enforce=privileged pod-security.kubernetes.io/warn=privileged
helm install ella-core oci://ghcr.io/ellanetworks/charts/ella-core --namespace ella -f values.yaml

A standalone node:

nodes:
  - ranAddress: 192.168.252.3/24
ran:
  networkAttachment:
    master: eth1

A high-availability cluster:

nodes:
  - ranAddress: 192.168.252.3/24
  - ranAddress: 192.168.252.4/24
  - ranAddress: 192.168.252.5/24
ran:
  networkAttachment:
    master: eth1

See Install and Deploy a High Availability Cluster.

Values

KeyDefaultDescription
nodesone nodeOne entry per Ella Core node. One entry deploys a standalone node. Three entries deploy a high-availability cluster, with one node per Kubernetes node.
nodes[].ranAddress192.168.252.3/24N2/N3 address of the node, in CIDR notation.
nodes[].nodeSelectorNode selector for this node only. Overrides nodeSelector.
ran.interfacen3Name of the N2/N3 interface in the pod.
ran.networkAttachment.createtrueCreate a macvlan NetworkAttachmentDefinition for the N2/N3 interface. Set to false to use your own.
ran.networkAttachment.name<release>-ranName of the NetworkAttachmentDefinition.
ran.networkAttachment.mastereth1Host interface that connects to the radios.
ran.networkAttachment.modebridgemacvlan mode.
ran.networkAttachment.routes[]Routes through the N2/N3 interface, e.g. {dst: 10.20.0.0/16, gw: 192.168.252.1} for radios behind a router.
configlogging to stdout, tcx datapathConfiguration file content, merged over the database, interface, API and cluster settings that the chart sets.
image.repositoryghcr.io/ellanetworks/ella-coreImage repository.
image.tagchart appVersionImage tag.
image.tagSuffixSuffix appended to the image tag. -ubi selects the image based on the Red Hat Universal Base Image.
image.digestImage digest. Takes precedence over image.tag.
image.pullPolicyIfNotPresentImage pull policy.
imagePullSecrets[]Image pull secrets.
service.typeClusterIPType of the API service.
service.port5002Port of the API service.
service.nodePortNode port, when service.type is NodePort.
service.annotations{}Annotations of the API service.
api.tls.secretNamekubernetes.io/tls Secret for HTTPS served by the pod itself. The probes and helm test then use HTTPS. With an Ingress, set the controller's annotation for HTTPS to the backend.
ingress.enabledfalseCreate an Ingress that exposes the API and UI.
ingress.classNameIngressClass name. Empty uses the cluster default.
ingress.hostHost name of the API and UI. Required when the Ingress is enabled.
ingress.annotations{}Ingress annotations, e.g. for cert-manager.
ingress.tls[]Ingress TLS entries, each with secretName and hosts.
persistence.size10GiSize of each node's data volume.
persistence.storageClassNamedefault StorageClassStorageClass of the data volumes.
resources1 CPU, 1 GiB requested; 4 CPU, 8 GiB limitContainer resources.
serviceAccount.createtrueCreate a service account.
serviceAccount.name<release>Service account name.
serviceAccount.annotations{}Service account annotations.
openshift.securityContextConstraints.createautoCreate a SecurityContextConstraints that grants the pod its capabilities. auto creates it on OpenShift only.
seLinuxOptionstype: spc_t on OpenShiftSELinux options of the container. Loading eBPF programs on an SELinux-enforcing node needs a type such as spc_t.
serviceMonitor.enabledfalseCreate a Prometheus Operator ServiceMonitor for /api/v1/metrics.
serviceMonitor.interval30sScrape interval.
serviceMonitor.labels{}Extra ServiceMonitor labels.
clusterDomaincluster.localKubernetes cluster domain, used in the cluster addresses of high-availability nodes.
nodeSelector{}Node selector.
tolerations[]Tolerations.
affinityone node per Kubernetes node in high availabilityAffinity. Replaces the default anti-affinity.
priorityClassNamePriority class.
podAnnotations{}Extra pod annotations.
podLabels{}Extra pod labels.
nameOverrideOverrides the chart name.
fullnameOverrideOverrides the resource name prefix.
tests.image.repositoryregistry.access.redhat.com/ubi10/ubi-minimalImage of the helm test pod.
tests.image.tag10.2Tag of the helm test image.

Deploy ella-core with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ella-core 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 chartella-core is pinned at v1.23.0 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