open5gs-scp

by Gradiant

Helm chartv2.4.1App 2.8.0Verified publisher

Helm chart to deploy Open5gs scp service on Kubernetes.

About this chart

open5gs-scp

Helm chart to deploy Open5gs scp service on Kubernetes.

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

Maintainers

NameEmailUrl
cgiraldo[email protected]

Source Code

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamicommon2.x.x
https://charts.bitnami.com/bitnamimongodb~18.0.5

Health probes

Startup checks are enabled immediately, with a budget of approximately five minutes (60 attempts at 5-second intervals). Once startup succeeds, readiness and liveness checks can begin without a fixed delay. Readiness uses three consecutive failures at 5-second intervals; liveness uses three at 10-second intervals. A successful readiness check can mark the Pod Ready immediately.

customStartupProbe, customReadinessProbe and customLivenessProbe replace the corresponding default probe, including when its enabled flag is true. To omit a probe, disable it and leave its custom override empty. Startup and liveness successThreshold must remain 1; probe intervals and timeouts must be positive.

The default probes check a TCP connection to the application port. They do not prove successful protocol exchanges, dependency availability, or the absence of every application deadlock.

Application Services exclude unready Pods by default. Set services.<name>.publishNotReadyAddresses=true only when peer discovery or bootstrap requires publishing them before readiness. Metrics Services keep this setting enabled by default so unhealthy instances remain observable.

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-scp resources (sub-charts are not considered). Evaluated as a template
commonLabelsobject{}Common labels to add to all open5gs-scp resources (sub-charts are not considered). Evaluated as a template
config.logLevelstring"info"
config.sbi.client.nrf.enabledbooltrue
config.sbi.client.nrf.uristring""
config.sbi.serverstringnil
containerPorts.sbiint7777Container port for SBI.
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{}Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled.
customOpen5gsConfigobject{}overwrite open5gs configuration file
customReadinessProbeobject{}Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled.
customStartupProbeobject{}Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled.
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-scp.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
livenessProbe.enabledbooltrueEnable the default liveness probe. A non-empty custom probe takes priority.
livenessProbe.failureThresholdint3Consecutive failed checks before restarting the container after startup has succeeded.
livenessProbe.initialDelaySecondsint0Delay in seconds before checks can begin (minimum 0). Application probes run after init containers.
livenessProbe.periodSecondsint10Interval between checks in seconds (minimum 1).
livenessProbe.successThresholdint1Consecutive successes required; Kubernetes requires 1 for startup and liveness.
livenessProbe.timeoutSecondsint2Timeout for one check in seconds (minimum 1).
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.
nameOverridestring""String to partially override open5gs-scp.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-scp pods' priorityClassName
readinessProbe.enabledbooltrueEnable the default readiness probe. A non-empty custom probe takes priority.
readinessProbe.failureThresholdint3Consecutive failed checks before marking the Pod NotReady; this does not restart the container.
readinessProbe.initialDelaySecondsint0Delay in seconds before checks can begin (minimum 0). Application probes run after init containers.
readinessProbe.periodSecondsint5Interval between checks in seconds (minimum 1).
readinessProbe.successThresholdint1Consecutive successes needed to restore readiness (minimum 1).
readinessProbe.timeoutSecondsint2Timeout for one check in seconds (minimum 1).
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.sbi.annotationsobject{}
services.sbi.clusterIPstring""Fixed Service cluster IP; empty lets Kubernetes allocate it.
services.sbi.externalTrafficPolicystring"Cluster"Traffic policy for externally exposed Services.
services.sbi.extraPortslist[]
services.sbi.loadBalancerIPstring""
services.sbi.loadBalancerSourceRangeslist[]
services.sbi.nodePorts.sbistring""NodePort override; empty lets Kubernetes allocate the port.
services.sbi.ports.sbiint7777Service port for SBI.
services.sbi.publishNotReadyAddressesboolfalsePublish unready Pod endpoints; enable only for required bootstrap/discovery or metrics diagnostics.
services.sbi.sessionAffinitystring"None"Service session-affinity policy.
services.sbi.sessionAffinityConfigobject{}
services.sbi.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)
startupProbe.enabledbooltrueEnable the default startup probe. A non-empty custom probe takes priority.
startupProbe.failureThresholdint60Consecutive failed checks allowed during startup before a restart; the budget is approximately this value multiplied by periodSeconds.
startupProbe.initialDelaySecondsint0Delay in seconds before checks can begin (minimum 0). Application probes run after init containers.
startupProbe.periodSecondsint5Interval between checks in seconds (minimum 1).
startupProbe.successThresholdint1Consecutive successes required; Kubernetes requires 1 for startup and liveness.
startupProbe.timeoutSecondsint2Timeout for one check in seconds (minimum 1).
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-scp with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has open5gs-scp 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-scp 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