open5gs-scp
by Gradiant
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
| Name | Url | |
|---|---|---|
| cgiraldo | [email protected] |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| https://charts.bitnami.com/bitnami | common | 2.x.x |
| https://charts.bitnami.com/bitnami | mongodb | ~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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity for pod assignment |
| args | list | [] | Override default container args (useful when using custom images) |
| autoscaling.enabled | bool | false | Create a HorizontalPodAutoscaler for the Deployment |
| autoscaling.maxReplicas | int | 1 | Maximum number of replicas for the autoscaler |
| autoscaling.minReplicas | int | 1 | Minimum number of replicas for the autoscaler |
| command | list | [] | Override default container command (useful when using custom images) |
| commonAnnotations | object | {} | Common annotations to add to all open5gs-scp resources (sub-charts are not considered). Evaluated as a template |
| commonLabels | object | {} | Common labels to add to all open5gs-scp resources (sub-charts are not considered). Evaluated as a template |
| config.logLevel | string | "info" | |
| config.sbi.client.nrf.enabled | bool | true | |
| config.sbi.client.nrf.uri | string | "" | |
| config.sbi.server | string | nil | |
| containerPorts.sbi | int | 7777 | Container port for SBI. |
| containerSecurityContext.enabled | bool | true | Apply this security context. |
| containerSecurityContext.runAsGroup | int | 999 | GID used by this security context. |
| containerSecurityContext.runAsNonRoot | bool | true | Require the container to run as a non-root user. |
| containerSecurityContext.runAsUser | int | 999 | UID used by this security context. |
| customLivenessProbe | object | {} | Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled. |
| customOpen5gsConfig | object | {} | overwrite open5gs configuration file |
| customReadinessProbe | object | {} | Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled. |
| customStartupProbe | object | {} | Complete replacement for the default probe, taking priority even when it is enabled. Empty uses the default or omits it when disabled. |
| dbURI | string | "" | MongoDB URI; empty selects -mongodb and its configured Service port. Helm templating is supported. |
| extraDeploy | list | [] | Array of extra objects to deploy with the release (evaluated as a template). |
| extraEnvVars | list | [] | Extra environment variables |
| extraEnvVarsCM | string | "" | ConfigMap containing extra env vars |
| extraEnvVarsSecret | string | "" | Secret containing extra env vars (in case of sensitive data) |
| extraVolumeMounts | list | [] | Array of extra volume mounts to be added to the container (evaluated as template). Normally used with extraVolumes. |
| extraVolumes | list | [] | Array of extra volumes to be added to the deployment (evaluated as template). Requires setting extraVolumeMounts |
| fullnameOverride | string | "" | String to fully override open5gs-scp.fullname template |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array |
| global.imageRegistry | string | "" | Global Docker image registry |
| global.storageClass | string | "" | Global StorageClass for Persistent Volume(s) |
| hostAliases | list | [] | [array] Add deployment host aliases |
| image.debug | bool | false | Specify if debug logs should be enabled |
| image.digest | string | "" | Optional image digest; takes precedence over the tag. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy: Always, IfNotPresent or Never. |
| image.pullSecrets | list | [] | Image pull Secret names in the workload namespace. |
| image.registry | string | "docker.io" | Container image registry. |
| image.repository | string | "gradiant/open5gs" | Container image repository. |
| image.tag | string | "2.8.0" | Container image tag. |
| initContainers | list | [] | Add additional init containers to the pod (evaluated as a template) |
| kubeVersion | string | "" | Force target Kubernetes version (using Helm capabilities if not set) |
| lifecycleHooks | object | {} | LifecycleHook to set additional configuration at startup Evaluated as a template |
| livenessProbe.enabled | bool | true | Enable the default liveness probe. A non-empty custom probe takes priority. |
| livenessProbe.failureThreshold | int | 3 | Consecutive failed checks before restarting the container after startup has succeeded. |
| livenessProbe.initialDelaySeconds | int | 0 | Delay in seconds before checks can begin (minimum 0). Application probes run after init containers. |
| livenessProbe.periodSeconds | int | 10 | Interval between checks in seconds (minimum 1). |
| livenessProbe.successThreshold | int | 1 | Consecutive successes required; Kubernetes requires 1 for startup and liveness. |
| livenessProbe.timeoutSeconds | int | 2 | Timeout for one check in seconds (minimum 1). |
| mongodb.auth.enabled | bool | false | The local MongoDB chart does not implement authentication; keep false or use an authenticated external database. |
| mongodb.enabled | bool | true | set to 'false' to disable automatically deploying dependent charts -- Deploy the bundled local MongoDB chart; disable it when using an external database. |
| nameOverride | string | "" | String to partially override open5gs-scp.fullname template (will maintain the release name) |
| namespaceOverride | string | "" | String to fully override common.names.namespace |
| nodeAffinityPreset.key | string | "" | Node label key to match Ignored if affinity is set. |
| nodeAffinityPreset.type | string | "" | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard |
| nodeAffinityPreset.values | list | [] | Node label values to match. Ignored if affinity is set. |
| nodeSelector | object | {} | Node labels for pod assignment. Evaluated as a template. |
| podAffinityPreset | string | "" | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard |
| podAnnotations | object | {} | Pod annotations |
| podAntiAffinityPreset | string | "soft" | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard |
| podLabels | object | {} | Add additional labels to the pod (evaluated as a template) |
| podSecurityContext.enabled | bool | true | Apply this security context. |
| podSecurityContext.fsGroup | int | 999 | Group used for mounted-volume access. |
| priorityClassName | string | "" | open5gs-scp pods' priorityClassName |
| readinessProbe.enabled | bool | true | Enable the default readiness probe. A non-empty custom probe takes priority. |
| readinessProbe.failureThreshold | int | 3 | Consecutive failed checks before marking the Pod NotReady; this does not restart the container. |
| readinessProbe.initialDelaySeconds | int | 0 | Delay in seconds before checks can begin (minimum 0). Application probes run after init containers. |
| readinessProbe.periodSeconds | int | 5 | Interval between checks in seconds (minimum 1). |
| readinessProbe.successThreshold | int | 1 | Consecutive successes needed to restore readiness (minimum 1). |
| readinessProbe.timeoutSeconds | int | 2 | Timeout for one check in seconds (minimum 1). |
| replicaCount | int | 1 | Number of application replicas. |
| resources.limits.cpu | string | "500m" | Container cpu limit as a Kubernetes quantity (for example 100m). |
| resources.limits.memory | string | "512Mi" | Container memory limit as a Kubernetes quantity (for example 128Mi). |
| resources.requests.cpu | string | "50m" | Container cpu request as a Kubernetes quantity (for example 100m). |
| resources.requests.memory | string | "64Mi" | Container memory request as a Kubernetes quantity (for example 128Mi). |
| schedulerName | string | "" | Name of the k8s scheduler (other than default) |
| serviceAccount.annotations | object | {} | Add annotations |
| serviceAccount.automountServiceAccountToken | bool | false | Mount an API token in pods and on the ServiceAccount created by the chart. |
| serviceAccount.create | bool | true | Specifies whether a dedicated service account should be created. |
| serviceAccount.name | string | "" | 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.annotations | object | {} | |
| services.sbi.clusterIP | string | "" | Fixed Service cluster IP; empty lets Kubernetes allocate it. |
| services.sbi.externalTrafficPolicy | string | "Cluster" | Traffic policy for externally exposed Services. |
| services.sbi.extraPorts | list | [] | |
| services.sbi.loadBalancerIP | string | "" | |
| services.sbi.loadBalancerSourceRanges | list | [] | |
| services.sbi.nodePorts.sbi | string | "" | NodePort override; empty lets Kubernetes allocate the port. |
| services.sbi.ports.sbi | int | 7777 | Service port for SBI. |
| services.sbi.publishNotReadyAddresses | bool | false | Publish unready Pod endpoints; enable only for required bootstrap/discovery or metrics diagnostics. |
| services.sbi.sessionAffinity | string | "None" | Service session-affinity policy. |
| services.sbi.sessionAffinityConfig | object | {} | |
| services.sbi.type | string | "ClusterIP" | Kubernetes Service type: ClusterIP, NodePort or LoadBalancer. |
| sessionAffinity | string | "None" | Control where client requests go, to the same pod or round-robin. Values: ClientIP or None |
| sidecars | list | [] | Attach additional containers to the pod (evaluated as a template) |
| startupProbe.enabled | bool | true | Enable the default startup probe. A non-empty custom probe takes priority. |
| startupProbe.failureThreshold | int | 60 | Consecutive failed checks allowed during startup before a restart; the budget is approximately this value multiplied by periodSeconds. |
| startupProbe.initialDelaySeconds | int | 0 | Delay in seconds before checks can begin (minimum 0). Application probes run after init containers. |
| startupProbe.periodSeconds | int | 5 | Interval between checks in seconds (minimum 1). |
| startupProbe.successThreshold | int | 1 | Consecutive successes required; Kubernetes requires 1 for startup and liveness. |
| startupProbe.timeoutSeconds | int | 2 | Timeout for one check in seconds (minimum 1). |
| tolerations | list | [] | Tolerations for pod assignment |
| topologySpreadConstraints | list | [] | Topology Spread Constraints for pod assignment |
| updateStrategy.type | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopen5gs-scp is pinned at v2.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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