Skip to content
NetBird icon
v1.1.6App: v0.83.2Pinned DigestS3 Backup Ready

Production Helm chart • Apache-2.0 • Zero-Root • Verified on Kubernetes v1.33-v1.36+

NetBird Helm Chart

Deploy NetBird, a self-hosted WireGuard overlay network control plane with device management, identity-aware access, and peer coordination.

This chart packages the current upstream combined architecture:

  • netbirdio/netbird-server:0.81.5 for the management API, gRPC endpoint, signal, relay, metrics, health, and UDP STUN service
  • netbirdio/dashboard:v2.90.10 for the web UI
  • a generated or externally supplied config.yaml
  • HelmForge PostgreSQL subchart as the default production store
  • optional persistent storage under /var/lib/netbird
  • dashboard OIDC environment derived from chart values
  • Ingress and Gateway API HTTPRoute support for HTTP/gRPC front doors
  • UDP 3478 Service exposure for STUN
  • External Secrets Operator integration for production secret delivery
  • NetworkPolicy, PDB, dual-stack service fields, and Helm tests

Install

helm repo add helmforge https://helmforge.dev/charts
helm repo update
helm install netbird helmforge/netbird --namespace netbird --create-namespace

For production, set at least a real public URL and a strong auth secret:

helm upgrade --install netbird helmforge/netbird \
  --namespace netbird --create-namespace \
  --set server.publicUrl=https://netbird.example.com \
  --set server.auth.issuer=https://netbird.example.com/oauth2 \
  --set server.authSecret="$(openssl rand -hex 32)"

The v1 chart defaults to PostgreSQL-backed storage through the HelmForge PostgreSQL subchart. For disposable or single-node lab installs, explicitly set:

database:
  mode: sqlite
postgresql:
  enabled: false

Configuration

The values contract is validated by values.schema.json. Application listeners and Kubernetes Service ports are separate: change server.containerPorts.* or dashboard.containerPorts.http to move the actual process listener, and change the corresponding *.service.*Port only to change the Service-facing port. Services use named target ports so both contracts remain synchronized.

Official Schema

Values & Configuration Reference

All schema parameters, types, defaults, and allowed values are extracted directly from the chart repository. Filter and search them in the interactive reference below or customize in Values Studio.

View Values Schema

Inspect the complete contract before changing advanced values:

helm show values helmforge/netbird

Architecture

The chart runs the upstream combined server and dashboard as separate Deployments. The server configuration is Secret backed, PostgreSQL is the production data store by default, and HTTP/gRPC plus dashboard routes can be exposed through Ingress or Gateway API. UDP STUN is always a separate Service concern. See DESIGN.md for boundaries and decisions.

Examples and guides

Production notes

NetBird peers need a stable public endpoint. Expose:

  • TCP 443 at your reverse proxy or ingress controller for dashboard, API, gRPC, signal, and relay traffic
  • UDP 3478 for STUN

The chart listens on HTTP inside Kubernetes and expects TLS termination at your ingress, gateway, load balancer, or external reverse proxy. Ensure your proxy supports HTTP/2 or gRPC for the server endpoint.

GeoLite database updates are disabled by default for deterministic Kubernetes startup. Set server.disableGeoliteUpdate=false only when your cluster allows the server pod to download the upstream databases during boot. Server health probes are also opt-in with server.probes.enabled=true because a fresh server can spend several minutes initializing geolocation data before opening the health endpoint.

Use server.config.existingSecret when you need to provide a full upstream config.yaml directly. Otherwise the chart renders one from values and stores it in a Kubernetes Secret.

With server.config.existingSecret, the chart uses your configuration unchanged. In the supplied config's server.auth.dashboardRedirectURIs, omit :443 from HTTPS URLs and :80 from HTTP URLs to match browser origins. Updating only the Secret data does not change the Deployment's config checksum or trigger a rollout, so restart the server Deployment after updating the Secret to load the new configuration.

Embedded identity provider

The default dashboard authentication settings match the identity provider embedded in netbird-server:

server:
  publicUrl: https://netbird.example.com
  auth:
    issuer: https://netbird.example.com/oauth2

dashboard:
  auth:
    clientId: netbird-dashboard
    audience: netbird-dashboard
    supportedScopes: openid profile email groups
    redirectUri: /nb-auth
    silentRedirectUri: /nb-silent-auth

The generated server configuration allows the corresponding absolute callback URLs below server.publicUrl. Keep the dashboard and server on the same public hostname when using the embedded provider. Override all dashboard auth values when integrating an external OIDC provider.

An explicit default port in server.publicUrl (:443 for HTTPS or :80 for HTTP) is omitted from the generated dashboard callback URLs to match browser origins. The public URL remains unchanged for the server's exposed address. For chart-managed configuration, upgrading from chart 1.0.12 updates the server pod's config checksum and automatically restarts it to load the corrected callbacks. The dashboard appends dashboard.auth.redirectUri and dashboard.auth.silentRedirectUri to window.location.origin, so these values must be relative paths. Replace any absolute callback URL overrides with /nb-auth and /nb-silent-auth, respectively, when using the embedded provider.

Storage

The default store mode is auto, which selects the PostgreSQL subchart unless an external database is configured. This follows upstream guidance that PostgreSQL is the production store for concurrent access and high availability.

Use database.mode=external with database.external.engine=postgres or mysql when your platform owns the database. MySQL is supported as an external database because upstream supports it, but this chart does not add a MySQL subchart in v1; PostgreSQL is the recommended bundled production path.

SQLite remains available for lab installs with database.mode=sqlite and postgresql.enabled=false. Keep server.replicaCount: 1 in sqlite mode.

External secrets

Use externalSecrets.items[] to synchronize sensitive values such as config.yaml, owner bootstrap credentials, OIDC client secrets, or database credentials from an external secret store.

Security Scan: netbird

Framework Score
MITRE + NSA + SOC2 89.898994%

Rendered-manifest scan using Kubescape 4.0.13.

The local scan reported no critical failures and an overall score above the repository security gate. Remaining findings are tracked as hardening trade-offs for optional NetworkPolicy enablement, upstream dashboard startup model, and operator-owned resource limit tuning across the database-backed topology.

Upgrade to 0.81.5

NetBird 0.81.5 includes the 0.81.4 security update that distrusts compromised eMudhra CA keys across management, signal, relay, proxy, and client components. The 0.81.5 release also includes client SSH session hardening; this chart deploys the server components only, so upgrade peer clients separately to receive those client fixes. No chart configuration or schema changes are required. Review the 0.81.4 release notes and 0.81.5 release notes.

Upgrade to 0.80.0

NetBird 0.80.0 strengthens account boundaries for agent-network gateways and proxy clusters, rejects IdP redirects, revokes embedded IdP sessions after password changes, and adds upload and reverse-proxy rate limiting. Management also splits its store by table and includes fixes for group-resource validation, relay disconnect notifications and forwarded client addresses. Review the 0.80.0 release.

The chart now generates and preserves server.store.encryptionKey in the chart-managed config Secret when the value is empty. This base64-encoded 32-byte key protects encrypted identity data and must remain stable across pod restarts and upgrades. Existing installations that already set an explicit key keep using it. Back up the config Secret together with the database and data volume.

An empty reverseProxy.trustedPeers trusts forwarded client-IP headers from all IPv4 and IPv6 sources. Restrict it to the proxy source CIDR as seen by NetBird Management, for example through server.config.extraYaml:

server:
  config:
    extraYaml: |
      reverseProxy:
        trustedPeers:
          - 10.42.0.0/16

Remote debug jobs now require an explicit opt-in on the peer (--allow-remote-jobs or managed allowRemoteJobs). The chart does not enable remote jobs on clients. Rosenpass settings belong to the separately deployed NetBird Reverse Proxy; server.env configures the combined server. Configure NB_PROXY_ROSENPASS=false on that separate proxy if opting out. Test real peers, routes and reverse-proxy services in staging before upgrading production.

Back up the configured database and /var/lib/netbird, then apply the new chart defaults while preserving your explicit overrides:

helm repo update helmforge
helm upgrade netbird helmforge/netbird \
  --namespace netbird \
  --reset-then-reuse-values

Using --reuse-values alone retains the previous default image tag. Remove any explicit server.image.tag override if you want the chart default 0.81.5.

The combined server's port-9000 /health endpoint checks the advertised public relay address and standalone listener list. It can return 503 in a private installation even while the multiplexed API and relay are serving requests. Use API authentication, OIDC discovery, relay connectivity and metrics for local smoke checks; validate public relay reachability separately in the deployed network. The chart's existing TCP probe policy is unchanged.

Troubleshooting

If a rollout does not become ready, inspect both Deployments and the generated config before changing probe budgets:

kubectl get pods,svc -n netbird
kubectl logs deploy/netbird-server -n netbird
kubectl get secret netbird-config -n netbird -o jsonpath='{.data.config\.yaml}' | base64 -d

For browser login loops, compare the public origin with the generated dashboard redirect URIs. For peer connectivity, verify HTTP/2 or gRPC proxying and test UDP STUN reachability independently. See the operations guide for database, metrics, backup, restore, and node-drain procedures.

Validation

make validate-chart CHART=netbird

The HelmForge gate runs dependency checks, lint, template scenarios, unit tests, kubeconform, Artifact Hub lint, and k3d behavioral validation.

System Architecture

DESIGN.md Synced

Verified architecture contract rendered dynamically from GitHub DESIGN.md

flowchart LR
  Peer[NetBird peers] -->|HTTPS and gRPC| Edge[Ingress, Gateway, or load balancer]
  Peer -->|UDP STUN| ServerService[Server Service]
  Browser[Administrators] -->|HTTPS| Edge
  Edge --> DashboardService[Dashboard Service]
  Edge --> ServerService
  DashboardService --> Dashboard[Dashboard Deployment]
  ServerService --> Server[Combined server Deployment]
  Server --> Data[(NetBird data PVC)]
  Server --> Database[(PostgreSQL or MySQL)]
  Server --> IdP[Embedded or external identity provider]
  ExternalSecret[External Secrets Operator] --> ConfigSecret[Configuration and credential Secrets]
  ConfigSecret --> Server
  ConfigSecret --> Dashboard
Official Contractvalues.schema.json

NetBird Values Schema Reference

Official schema parameters, default values, and types extracted directly from the chart repository.

164 parametersValues Studio

Global(1)

ParameterTypeDefaultDescription
globalobject-Global settings shared by parent charts.

Name Override(1)

ParameterTypeDefaultDescription
nameOverridestring-Chart configuration parameter

Fullname Override(1)

ParameterTypeDefaultDescription
fullnameOverridestring-Chart configuration parameter

Common Labels(1)

ParameterTypeDefaultDescription
commonLabelsobject-Chart configuration parameter

Common Annotations(1)

ParameterTypeDefaultDescription
commonAnnotationsobject-Chart configuration parameter

Server(36)

ParameterTypeDefaultDescription
server.image.repositorystring-Chart configuration parameter
server.image.tagstring-Chart configuration parameter
server.image.pullPolicystring-Chart configuration parameter
Allowed:AlwaysIfNotPresentNever
server.replicaCountinteger-Chart configuration parameter
server.publicUrlstring-Chart configuration parameter
server.authSecretstring-Chart configuration parameter
server.disableAnonymousMetricsboolean-Chart configuration parameter
server.disableGeoliteUpdateboolean-Chart configuration parameter
server.commandarray-Chart configuration parameter
server.argsarray-Chart configuration parameter
server.envany-Chart configuration parameter
server.envFromarray-Chart configuration parameter
server.containerPorts.httpany-Chart configuration parameter
server.containerPorts.stunany-Chart configuration parameter
server.containerPorts.metricsany-Chart configuration parameter
server.containerPorts.healthany-Chart configuration parameter
server.probes.enabledboolean-Chart configuration parameter
server.config.existingSecretstring-Chart configuration parameter
server.config.existingSecretKeystring-Chart configuration parameter
server.config.extraYamlstring-Chart configuration parameter
server.auth.issuerstring-Chart configuration parameter
server.auth.localAuthDisabledboolean-Chart configuration parameter
server.auth.signKeyRefreshEnabledboolean-Chart configuration parameter
server.auth.owner.emailstring-Chart configuration parameter
server.auth.owner.passwordstring-Chart configuration parameter
server.store.enginestring-Chart configuration parameter
Allowed:sqlitepostgresmysql
server.store.dsnstring-Chart configuration parameter
server.store.encryptionKeystring-Chart configuration parameter
server.service.typestring-Chart configuration parameter
Allowed:ClusterIPNodePortLoadBalancer
server.service.httpPortany-Chart configuration parameter
server.service.stunPortany-Chart configuration parameter
server.service.metricsPortany-Chart configuration parameter
server.service.healthPortany-Chart configuration parameter
server.service.annotationsobject-Chart configuration parameter
server.service.ipFamilyPolicystring-Chart configuration parameter
Allowed:SingleStackPreferDualStackRequireDualStack
server.service.ipFamiliesarray-Chart configuration parameter

Dashboard(28)

ParameterTypeDefaultDescription
dashboard.enabledboolean-Chart configuration parameter
dashboard.image.repositorystring-Chart configuration parameter
dashboard.image.tagstring-Chart configuration parameter
dashboard.image.pullPolicystring-Chart configuration parameter
Allowed:AlwaysIfNotPresentNever
dashboard.replicaCountinteger-Chart configuration parameter
dashboard.envany-Chart configuration parameter
dashboard.envFromarray-Chart configuration parameter
dashboard.containerPorts.httpany-Chart configuration parameter
dashboard.auth.clientIdstring-Chart configuration parameter
dashboard.auth.audiencestring-Chart configuration parameter
dashboard.auth.supportedScopesstring-Chart configuration parameter
dashboard.auth.redirectUristring-Chart configuration parameter
dashboard.auth.silentRedirectUristring-Chart configuration parameter
dashboard.auth.tokenSourcestring-Chart configuration parameter
Allowed:accessTokenidToken
dashboard.auth.useAuth0string-Chart configuration parameter
Allowed:truefalse
dashboard.securityContext.allowPrivilegeEscalationboolean-Chart configuration parameter
dashboard.securityContext.capabilities.droparray-Chart configuration parameter
dashboard.securityContext.capabilities.addarray-Chart configuration parameter
dashboard.securityContext.readOnlyRootFilesystemboolean-Chart configuration parameter
dashboard.securityContext.runAsNonRootboolean-Chart configuration parameter
dashboard.securityContext.runAsUserinteger-Chart configuration parameter
dashboard.securityContext.runAsGroupinteger-Chart configuration parameter
dashboard.securityContext.seccompProfile.typestring-Chart configuration parameter
Allowed:RuntimeDefaultLocalhostUnconfined
dashboard.service.typestring-Chart configuration parameter
Allowed:ClusterIPNodePortLoadBalancer
dashboard.service.portany-Chart configuration parameter
dashboard.service.annotationsobject-Chart configuration parameter
dashboard.service.ipFamilyPolicystring-Chart configuration parameter
Allowed:SingleStackPreferDualStackRequireDualStack
dashboard.service.ipFamiliesarray-Chart configuration parameter

Image Pull Secrets(1)

ParameterTypeDefaultDescription
imagePullSecretsarray-Chart configuration parameter

Database(11)

ParameterTypeDefaultDescription
database.modestring-Chart configuration parameter
Allowed:autosqlitepostgresqlexternal
database.external.enginestring-Chart configuration parameter
Allowed:postgresmysql
database.external.hoststring-Chart configuration parameter
database.external.portany-Chart configuration parameter
database.external.namestring-Chart configuration parameter
database.external.usernamestring-Chart configuration parameter
database.external.passwordstring-Chart configuration parameter
database.external.existingSecretstring-Chart configuration parameter
database.external.existingSecretPasswordKeystring-Chart configuration parameter
database.external.sslModestring-Chart configuration parameter
Allowed:disableallowpreferrequireverify-caverify-full
database.external.dsnstring-Chart configuration parameter

Postgresql(8)

ParameterTypeDefaultDescription
postgresql.enabledboolean-Chart configuration parameter
postgresql.architecturestring-Chart configuration parameter
Allowed:standalonereplication
postgresql.auth.databasestring-Chart configuration parameter
postgresql.auth.usernamestring-Chart configuration parameter
postgresql.auth.passwordstring-Chart configuration parameter
postgresql.auth.postgresPasswordstring-Chart configuration parameter
postgresql.standalone.persistence.enabledboolean-Chart configuration parameter
postgresql.standalone.persistence.sizeany-Chart configuration parameter

Persistence(7)

ParameterTypeDefaultDescription
persistence.enabledboolean-Chart configuration parameter
persistence.sizeany-Chart configuration parameter
persistence.storageClassstring-Chart configuration parameter
persistence.accessModesarray-Chart configuration parameter
persistence.existingClaimstring-Chart configuration parameter
persistence.mountPathstring-Chart configuration parameter
persistence.emptyDirSizeLimitany-Chart configuration parameter

Service Account(4)

ParameterTypeDefaultDescription
serviceAccount.createboolean-Chart configuration parameter
serviceAccount.namestring-Chart configuration parameter
serviceAccount.annotationsobject-Chart configuration parameter
serviceAccount.automountServiceAccountTokenboolean-Chart configuration parameter

Ingress(5)

ParameterTypeDefaultDescription
ingress.enabledboolean-Chart configuration parameter
ingress.ingressClassNamestring-Chart configuration parameter
ingress.annotationsobject-Chart configuration parameter
ingress.hostsarray-Chart configuration parameter
ingress.tlsarray-Chart configuration parameter

Gateway API(2)

ParameterTypeDefaultDescription
gatewayAPI.enabledboolean-Chart configuration parameter
gatewayAPI.httpRoutesarray-Chart configuration parameter

External Secrets(4)

ParameterTypeDefaultDescription
externalSecrets.enabledboolean-Chart configuration parameter
externalSecrets.apiVersionstring-Chart configuration parameter
externalSecrets.refreshIntervalstring-Chart configuration parameter
externalSecrets.itemsarray-Chart configuration parameter

Health Probes(15)

ParameterTypeDefaultDescription
probes.startup.enabledboolean-Chart configuration parameter
probes.startup.initialDelaySecondsinteger-Chart configuration parameter
probes.startup.periodSecondsinteger-Chart configuration parameter
probes.startup.timeoutSecondsinteger-Chart configuration parameter
probes.startup.failureThresholdinteger-Chart configuration parameter
probes.liveness.enabledboolean-Chart configuration parameter
probes.liveness.initialDelaySecondsinteger-Chart configuration parameter
probes.liveness.periodSecondsinteger-Chart configuration parameter
probes.liveness.timeoutSecondsinteger-Chart configuration parameter
probes.liveness.failureThresholdinteger-Chart configuration parameter
probes.readiness.enabledboolean-Chart configuration parameter
probes.readiness.initialDelaySecondsinteger-Chart configuration parameter
probes.readiness.periodSecondsinteger-Chart configuration parameter
probes.readiness.timeoutSecondsinteger-Chart configuration parameter
probes.readiness.failureThresholdinteger-Chart configuration parameter

Resources(6)

ParameterTypeDefaultDescription
resources.requests.cpuany-Chart configuration parameter
resources.requests.memoryany-Chart configuration parameter
resources.requests.ephemeral-storageany-Chart configuration parameter
resources.limits.cpuany-Chart configuration parameter
resources.limits.memoryany-Chart configuration parameter
resources.limits.ephemeral-storageany-Chart configuration parameter

Runtime Storage(4)

ParameterTypeDefaultDescription
runtimeStorage.nginxVarSizeLimitany-Chart configuration parameter
runtimeStorage.nginxLogsSizeLimitany-Chart configuration parameter
runtimeStorage.nginxTmpSizeLimitany-Chart configuration parameter
runtimeStorage.nginxRunSizeLimitany-Chart configuration parameter

Pod Security(2)

ParameterTypeDefaultDescription
podSecurityContext.fsGroupinteger-Chart configuration parameter
podSecurityContext.fsGroupChangePolicystring-Chart configuration parameter
Allowed:AlwaysOnRootMismatch

Container Security(8)

ParameterTypeDefaultDescription
securityContext.allowPrivilegeEscalationboolean-Chart configuration parameter
securityContext.capabilities.droparray-Chart configuration parameter
securityContext.capabilities.addarray-Chart configuration parameter
securityContext.readOnlyRootFilesystemboolean-Chart configuration parameter
securityContext.runAsNonRootboolean-Chart configuration parameter
securityContext.runAsUserinteger-Chart configuration parameter
securityContext.runAsGroupinteger-Chart configuration parameter
securityContext.seccompProfile.typestring-Chart configuration parameter
Allowed:RuntimeDefaultLocalhostUnconfined

Pdb(3)

ParameterTypeDefaultDescription
pdb.enabledany-Chart configuration parameter
pdb.minAvailableany-Chart configuration parameter
pdb.maxUnavailableany-Chart configuration parameter

Network Policy(4)

ParameterTypeDefaultDescription
networkPolicy.enabledboolean-Chart configuration parameter
networkPolicy.ingressFromarray-Chart configuration parameter
networkPolicy.stunIngressFromarray-Chart configuration parameter
networkPolicy.extraEgressarray-Chart configuration parameter

Node Selector(1)

ParameterTypeDefaultDescription
nodeSelectorobject-Chart configuration parameter

Tolerations(1)

ParameterTypeDefaultDescription
tolerationsarray-Chart configuration parameter

Affinity(1)

ParameterTypeDefaultDescription
affinityobject-Chart configuration parameter

Topology Spread Constraints(1)

ParameterTypeDefaultDescription
topologySpreadConstraintsarray-Chart configuration parameter

Priority Class Name(1)

ParameterTypeDefaultDescription
priorityClassNamestring-Chart configuration parameter

Termination Grace Period Seconds(1)

ParameterTypeDefaultDescription
terminationGracePeriodSecondsinteger-Chart configuration parameter

Pod Labels(1)

ParameterTypeDefaultDescription
podLabelsobject-Chart configuration parameter

Pod Annotations(1)

ParameterTypeDefaultDescription
podAnnotationsobject-Chart configuration parameter

Extra Volumes(1)

ParameterTypeDefaultDescription
extraVolumesarray-Chart configuration parameter

Extra Volume Mounts(1)

ParameterTypeDefaultDescription
extraVolumeMountsarray-Chart configuration parameter

Extra Manifests(1)

ParameterTypeDefaultDescription
extraManifestsarray-Chart configuration parameter