open5gs-hss

by Gradiant

Helm chartv2.4.1App 2.8.0Verified publisher

Helm chart to deploy Open5gs HSS service on Kubernetes.

About this chart

open5gs-hss

Helm chart to deploy Open5gs HSS service on Kubernetes.

Homepage: https://github.com/gradiant/5g-charts

Maintainers

NameEmailUrl
cgiraldo[email protected]

Source Code

Requirements

RepositoryNameVersion
file://../mongodbmongodb~0.1.0
https://charts.bitnami.com/bitnamicommon2.x.x

MongoDB and startup

This chart uses the local MongoDB Community Server chart with mongo:8.0.34 when mongodb.enabled=true. Set dbURI and disable the bundled database to connect to an external MongoDB instance. By default, the local Service is named <release>-mongodb; mongodb.service.port is respected when generating the URI.

The wait-for-mongodb init container checks the same URI as the application before it starts. It retries a MongoDB ping for up to 300 seconds, with bounded client attempts, and reports a timeout without logging the connection URI. It also runs when the database is external. Set mongodbWait.enabled=false to opt out, or adjust the timeout and retry interval below. User-supplied init containers run after the readiness check. This check covers initial startup; it does not implement recovery from a database outage after startup.

For existing Bitnami deployments, read the MongoDB migration notes before upgrading. PVC contents and Bitnami-specific values are not automatically converted. The local database supports standalone, unauthenticated deployments; use an external database for authentication or replica sets.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for pod assignment
argslist[]Override default container args (useful when using custom images)
autoscaling.enabledboolfalseCreate a HorizontalPodAutoscaler for the Deployment
autoscaling.maxReplicasint1Maximum number of replicas for the autoscaler
autoscaling.minReplicasint1Minimum number of replicas for the autoscaler
commandlist[]Override default container command (useful when using custom images)
commonAnnotationsobject{}Common annotations to add to all open5gs-hss resources (sub-charts are not considered). Evaluated as a template
commonLabelsobject{}Common labels to add to all open5gs-hss resources (sub-charts are not considered). Evaluated as a template
config.logLevelstring"info"
config.mme.frdi.hostnamestring""
config.mme.frdi.portint3868
containerPorts.frdiint3868Container port for Diameter.
containerSecurityContext.enabledbooltrueApply this security context.
containerSecurityContext.runAsGroupint999GID used by this security context.
containerSecurityContext.runAsNonRootbooltrueRequire the container to run as a non-root user.
containerSecurityContext.runAsUserint999UID used by this security context.
customLivenessProbeobject{}Optional probe definition; empty leaves this probe unconfigured.
customOpen5gsConfigobject{}overwrite open5gs configuration file
customReadinessProbeobject{}Optional probe definition; empty leaves this probe unconfigured.
customStartupProbeobject{}Optional probe definition; empty leaves this probe unconfigured.
dbURIstring""MongoDB URI; empty selects -mongodb and its configured Service port. Helm templating is supported.
extraDeploylist[]Array of extra objects to deploy with the release (evaluated as a template).
extraEnvVarslist[]Extra environment variables
extraEnvVarsCMstring""ConfigMap containing extra env vars
extraEnvVarsSecretstring""Secret containing extra env vars (in case of sensitive data)
extraVolumeMountslist[]Array of extra volume mounts to be added to the container (evaluated as template). Normally used with extraVolumes.
extraVolumeslist[]Array of extra volumes to be added to the deployment (evaluated as template). Requires setting extraVolumeMounts
fullnameOverridestring""String to fully override open5gs-hss.fullname template
global.imagePullSecretslist[]Global Docker registry secret names as an array
global.imageRegistrystring""Global Docker image registry
global.storageClassstring""Global StorageClass for Persistent Volume(s)
hostAliaseslist[][array] Add deployment host aliases
image.debugboolfalseSpecify if debug logs should be enabled
image.digeststring""Optional image digest; takes precedence over the tag.
image.pullPolicystring"IfNotPresent"Image pull policy: Always, IfNotPresent or Never.
image.pullSecretslist[]Image pull Secret names in the workload namespace.
image.registrystring"docker.io"Container image registry.
image.repositorystring"gradiant/open5gs"Container image repository.
image.tagstring"2.8.0"Container image tag.
initContainerslist[]Add additional init containers to the pod (evaluated as a template)
kubeVersionstring""Force target Kubernetes version (using Helm capabilities if not set)
lifecycleHooksobject{}LifecycleHook to set additional configuration at startup Evaluated as a template
mongodb.auth.enabledboolfalseThe local MongoDB chart does not implement authentication; keep false or use an authenticated external database.
mongodb.enabledbooltrueset to 'false' to disable automatically deploying dependent charts -- Deploy the bundled local MongoDB chart; disable it when using an external database.
mongodbWait.enabledbooltrueWait for a successful MongoDB ping before application or subscriber initialization.
mongodbWait.image.digeststring""Optional image digest; takes precedence over the tag.
mongodbWait.image.pullPolicystring"IfNotPresent"Image pull policy: Always, IfNotPresent or Never.
mongodbWait.image.registrystring"docker.io"Container image registry.
mongodbWait.image.repositorystring"library/mongo"Container image repository.
mongodbWait.image.tagstring"8.0.34"Container image tag.
mongodbWait.resources.limits.cpustring"1"Container cpu limit as a Kubernetes quantity (for example 100m).
mongodbWait.resources.limits.memorystring"512Mi"Container memory limit as a Kubernetes quantity (for example 128Mi).
mongodbWait.resources.requests.cpustring"50m"Container cpu request as a Kubernetes quantity (for example 100m).
mongodbWait.resources.requests.memorystring"128Mi"Container memory request as a Kubernetes quantity (for example 128Mi).
mongodbWait.retryIntervalSecondsint5Delay between unsuccessful connection attempts in seconds (1-3600).
mongodbWait.timeoutSecondsint300Maximum wait per init-container attempt in seconds (1-86400), not a fixed delay; Kubernetes may retry failed attempts.
nameOverridestring""String to partially override open5gs-hss.fullname template (will maintain the release name)
namespaceOverridestring""String to fully override common.names.namespace
nodeAffinityPreset.keystring""Node label key to match Ignored if affinity is set.
nodeAffinityPreset.typestring""Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard
nodeAffinityPreset.valueslist[]Node label values to match. Ignored if affinity is set.
nodeSelectorobject{}Node labels for pod assignment. Evaluated as a template.
podAffinityPresetstring""Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard
podAnnotationsobject{}Pod annotations
podAntiAffinityPresetstring"soft"Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard
podLabelsobject{}Add additional labels to the pod (evaluated as a template)
podSecurityContext.enabledbooltrueApply this security context.
podSecurityContext.fsGroupint999Group used for mounted-volume access.
priorityClassNamestring""open5gs-hss pods' priorityClassName
replicaCountint1Number of application replicas.
resources.limits.cpustring"500m"Container cpu limit as a Kubernetes quantity (for example 100m).
resources.limits.memorystring"512Mi"Container memory limit as a Kubernetes quantity (for example 128Mi).
resources.requests.cpustring"50m"Container cpu request as a Kubernetes quantity (for example 100m).
resources.requests.memorystring"64Mi"Container memory request as a Kubernetes quantity (for example 128Mi).
schedulerNamestring""Name of the k8s scheduler (other than default)
serviceAccount.annotationsobject{}Add annotations
serviceAccount.automountServiceAccountTokenboolfalseMount an API token in pods and on the ServiceAccount created by the chart.
serviceAccount.createbooltrueSpecifies whether a dedicated service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
services.frdi.annotationsobject{}
services.frdi.clusterIPstring""Fixed Service cluster IP; empty lets Kubernetes allocate it.
services.frdi.externalTrafficPolicystring"Cluster"Traffic policy for externally exposed Services.
services.frdi.extraPortslist[]
services.frdi.loadBalancerIPstring""
services.frdi.loadBalancerSourceRangeslist[]
services.frdi.nodePorts.frdistring""NodePort override; empty lets Kubernetes allocate the port.
services.frdi.ports.frdiint3868Service port for Diameter.
services.frdi.sessionAffinitystring"None"Service session-affinity policy.
services.frdi.sessionAffinityConfigobject{}
services.frdi.typestring"ClusterIP"Kubernetes Service type: ClusterIP, NodePort or LoadBalancer.
sessionAffinitystring"None"Control where client requests go, to the same pod or round-robin. Values: ClientIP or None
sidecarslist[]Attach additional containers to the pod (evaluated as a template)
tolerationslist[]Tolerations for pod assignment
topologySpreadConstraintslist[]Topology Spread Constraints for pod assignment
updateStrategy.typestring"RollingUpdate"Update strategy - only really applicable for deployments with RWO PVs attached

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy open5gs-hss with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has open5gs-hss 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 chartopen5gs-hss is pinned at v2.4.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