Helm chartv2.4.0App 2.21.4Apache-2.0Verified publisher

A Helm chart for n8n, the fair-code workflow automation platform. Independent, production-oriented distribution maintained by the community-artifacts organisation. Ships additive operational knobs (task-runner controls, queue mode, KEDA/HPA/PDB, S3 binary storage, multi-main, webhook processors, ServiceMonitor).

About this chart

n8n

A Helm chart for fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Documentation

For usage instructions, configuration options, and additional information about this Helm chart, see the values reference below and the example sections in this document. For n8n itself, refer to the n8n documentation.

Get Helm Repository Info

helm repo add community-artifacts https://community-artifacts.github.io/n8n-helm
helm repo update

See helm repo for command documentation.

Installing the Chart

helm install [RELEASE_NAME] community-artifacts/n8n-helm

See configuration below.

See helm install for command documentation.

Tip: Search all available chart versions using helm search repo community-artifacts -l. Please don't forget to run helm repo update before the command.

Verifying the Chart

Releases from 2.2.1 onwards are GPG-signed by the maintainer. Each release ships a .tgz.prov provenance file next to the chart .tgz, and Artifact Hub displays a "Signed" badge on the chart's page once a signed release has been indexed.

To verify locally before installing:

# 1. Fetch and import the public key
curl -fsSL https://raw.githubusercontent.com/community-artifacts/n8n-helm/main/pubkey.gpg \
  | gpg --import
gpg --export > ~/.gnupg/pubring.gpg          # legacy keyring helm/cr expect

# 2. Install with verification
helm install n8n community-artifacts/n8n --verify

helm install --verify will refuse to proceed unless the chart's .prov file is present and the signature validates against the imported public key. To inspect a chart without installing, use helm verify <path-to-tgz>.

The public key is published in this repo at pubkey.gpg.

Bundled subchart details

When postgresql.enabled or redis.enabled is set, the chart pulls in two third-party subcharts. The redis and postgresql keys are Helm aliases; the actual subcharts behind them are not Bitnami's. Knowing the real upstream matters for supply-chain review and compliance.

Values key (alias)Real subchartUpstream projectRepositoryApp version shipped
postgresql.*cloudpirates/postgresPostgreSQLoci://registry-1.docker.io/cloudpiratesPostgreSQL 18.3 (StatefulSet, official postgres image)
redis.*valkey/valkeyValkey (Linux Foundation Redis fork, wire-compatible)https://valkey.io/valkey-helmValkey 9.x
minio.*minio/minioMinIOhttps://charts.min.io/MinIO upstream

Why these and not Bitnami's: the Bitnami free Helm repository was deprecated in 2025; this chart switched to actively maintained, community-friendly alternatives. The Valkey project is the Redis fork incubated under the Linux Foundation after the Redis license change. CloudPirates publishes a StatefulSet-based Postgres chart that tracks the official postgres image.

If your environment has policies against any of these (for example, you need a managed Postgres or a Redis-license install), set the corresponding .enabled: false and supply connection details via externalPostgresql.* / externalRedis.* instead — see the dedicated sections below.

Chart releases from 2.2.2 onwards are GPG-signed. See the Verifying the Chart section above for helm install --verify setup.

Full Example

Tip: n8n now listens on IPv6 addresses by default (N8N_LISTEN_ADDRESS="::") due to the gradual deprecation of IPv4. If your Kubernetes cluster only supports IPv4, be sure to set N8N_LISTEN_ADDRESS=0.0.0.0. This will help avoid potential issues with readiness and liveness probes failing.

log:
  level: warn

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  password: "Pa33w0rd!"
  database: "n8n"

main:
  resources:
    requests:
      cpu: 100m
      memory: 128Mi
    limits:
      cpu: 512m
      memory: 512Mi

worker:
  mode: queue

  autoscaling:
    enabled: true

  waitMainNodeReady:
    enabled: true

  resources:
    requests:
      cpu: 1000m
      memory: 250Mi
    limits:
      cpu: 2000m
      memory: 2Gi

externalRedis:
  host: "redis-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "default"
  password: "Pa33w0rd!"

ingress:
  enabled: true
  hosts:
    - host: n8n.mydomain.com
      paths:
        - path: /
          pathType: Prefix

webhook:
  mode: queue

  url: "https://webhook.mydomain.com"

  autoscaling:
    enabled: true

  waitMainNodeReady:
    enabled: true

  resources:
    requests:
      cpu: 100m
      memory: 128Mi
    limits:
      cpu: 512m
      memory: 512Mi

Basic Deployment with Ingress

ingress:
  enabled: true
  hosts:
    - host: n8n.mydomain.com
      paths:
        - path: /
          pathType: ImplementationSpecific

Deployment with the bundled PostgreSQL subchart

The chart ships cloudpirates/postgres (StatefulSet, official postgres image, currently PG 18). Enable and override only what you need.

db:
  type: postgresdb

postgresql:
  enabled: true

  persistence:
    existingClaim: "my-n8n-claim"

Deployment with External PostgreSQL

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  password: "Pa33w0rd!"
  database: "n8n"

Deployment with External PostgreSQL and Exist Secret on Kubernetes

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  database: "n8n"

  existingSecret: "my-k8s-secret-contains-postgres-password-key-and-credential"

Queue Mode with the bundled Valkey subchart

The chart ships valkey/valkey (Redis-wire-compatible, currently Valkey 9). Auth is disabled by default — rely on namespace/NetworkPolicy isolation, or enable Valkey ACL and mirror the password in externalRedis.password.

Tip: Queue mode doesn't work with default SQLite mode

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  password: "Pa33w0rd!"
  database: "n8n"

worker:
  mode: queue

redis:
  enabled: true

Queue Mode with External Redis

Tip: Queue mode doesn't work with default SQLite mode

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  password: "Pa33w0rd!"
  database: "n8n"

worker:
  mode: queue

externalRedis:
  host: "redis-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "default"
  password: "Pa33w0rd!"

Queue Mode with External Redis and Exist Secret on Kubernetes

Tip: Queue mode doesn't work with default SQLite mode

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  database: "n8n"

  existingSecret: "my-k8s-secret-contains-postgres-password-key-and-credential"

worker:
  mode: queue

externalRedis:
  host: "redis-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "default"

  existingSecret: "my-k8s-secret-contains-redis-password-key-and-credential"

Webhook Node Deployment

Tip: Webhook needs PostgreSQL backend and Redis based queue mode.

db:
  type: postgresdb

externalPostgresql:
  host: "postgresql-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "n8nuser"
  password: "Pa33w0rd!"
  database: "n8n"

worker:
  mode: queue

externalRedis:
  host: "redis-instance1.ab012cdefghi.eu-central-1.rds.amazonaws.com"
  username: "default"
  password: "Pa33w0rd!"

ingress:
  enabled: true
  hosts:
    - host: n8n.mydomain.com
      paths:
        - path: /
          pathType: Prefix

webhook:
  mode: queue

  url: "https://webhook.mydomain.com"

External Task Runner Example

Please find more detail about external task runners from here.

taskRunners:
  mode: external

Autoscaling Configuration

Note: The autoscaling and allNodes options cannot be enabled simultaneously.

Deploying Worker and Webhook Pods on All Nodes

To deploy worker or webhook pods on all Kubernetes nodes, set the allNodes flag to true:

db:
  type: postgresdb

worker:
  mode: queue
  allNodes: true

webhook:
  mode: queue
  allNodes: true

Enabling Autoscaling

To enable autoscaling, set the enabled field under autoscaling to true:

db:
  type: postgresdb

worker:
  mode: queue
  autoscaling:
    enabled: true

webhook:
  mode: queue
  autoscaling:
    enabled: true

Ensure that you configure either allNodes or autoscaling based on your deployment requirements.

StatefulSet and Deployment Selection (Persistence & Scaling)

Note: You do not need to set forceToUseStatefulset in most cases. The chart will automatically select StatefulSet or Deployment based on your persistence and replica settings.

  • StatefulSet is used automatically if:

    • persistence.enabled: true
    • More than one replica (count > 1 and autoscaling.enabled: false)
    • persistence.accessMode: ReadWriteOnce
    • No existingClaim is set
  • Deployment is used if:

    • persistence.enabled: false
    • Only one replica (count: 1 and no autoscaling)
    • persistence.accessMode: ReadWriteMany
    • existingClaim is set
  • You can force StatefulSet with forceToUseStatefulset: true (default is false).

Examples:

Main Node Examples

# Automatic StatefulSet (multiple replicas, ReadWriteOnce)
main:
  count: 3  # Multiple replicas
  persistence:
    enabled: true
    accessMode: ReadWriteOnce
    volumeName: "n8n-main-data"
    mountPath: "/home/node/.n8n"
    size: 10Gi
# Result: StatefulSet with 3 replicas
# Automatic Deployment (multiple replicas, ReadWriteMany)
main:
  count: 3  # Multiple replicas
  persistence:
    enabled: true
    accessMode: ReadWriteMany
    volumeName: "n8n-main-data"
    mountPath: "/home/node/.n8n"
    size: 10Gi
# Result: Deployment with 3 replicas
# Automatic Deployment (single replica)
main:
  count: 1  # Single replica
  persistence:
    enabled: true
    accessMode: ReadWriteOnce
    volumeName: "n8n-main-data"
    mountPath: "/home/node/.n8n"
    size: 10Gi
# Result: Deployment with 1 replica
# Manual override (force StatefulSet)
main:
  forceToUseStatefulset: true
  persistence:
    enabled: true
    volumeName: "n8n-main-data"
    mountPath: "/home/node/.n8n"
    size: 10Gi
# Result: StatefulSet regardless of other settings

Worker Node Examples

# Automatic StatefulSet (multiple replicas, ReadWriteOnce)
worker:
  mode: queue
  count: 3  # Multiple replicas
  persistence:
    enabled: true
    accessMode: ReadWriteOnce
    volumeName: "n8n-worker-data"
    mountPath: "/home/node/.n8n"
    size: 5Gi
# Result: StatefulSet with 3 replicas
# Autoscaling with Deployment (ReadWriteMany)
worker:
  mode: queue
  autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 10
  persistence:
    enabled: true
    accessMode: ReadWriteMany  # Required for autoscaling
    volumeName: "n8n-worker-data"
    mountPath: "/home/node/.n8n"
    size: 5Gi
# Result: Deployment with autoscaling enabled
# Manual scaling with StatefulSet
worker:
  mode: queue
  forceToUseStatefulset: true
  count: 3  # Fixed number of replicas
  persistence:
    enabled: true
    accessMode: ReadWriteOnce
    volumeName: "n8n-worker-data"
    mountPath: "/home/node/.n8n"
    size: 5Gi
  # Note: autoscaling.enabled should be false or omitted
# Result: StatefulSet with 3 replicas, no autoscaling
# ❌ INVALID CONFIGURATION - Will fail schema validation
worker:
  mode: queue
  autoscaling:
    enabled: true  # ❌ Cannot enable autoscaling
  persistence:
    enabled: true
    accessMode: ReadWriteOnce  # ❌ With ReadWriteOnce persistence
# Result: Schema validation error

Persistence Use Cases

When to use persistence:

  • Main node: Store n8n data, workflows, and configuration persistently
  • Worker nodes: Store npm packages and node modules for faster startup
  • Development: Keep workflows and data across pod restarts
  • Production: Ensure data persistence and faster npm package loading

Storage considerations:

  • ReadWriteOnce: Use for single-node deployments or when you need StatefulSets
  • ReadWriteMany: Use for multi-node deployments with autoscaling
  • Storage classes: Choose based on your cluster's available storage options
  • Size: C

Deploy n8n with OpenTenant

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