Helm chartv1.24.43App 2.41.6Apache-2.0Verified publisher

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.

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.

Official Documentation

For detailed usage instructions, configuration options, and additional information about the n8n Helm chart, refer to the official documentation.

Get Helm Repository Info

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

See helm repo for command documentation.

Installing the Chart

helm install [RELEASE_NAME] community-charts/n8n

See configuration below.

See helm install for command documentation.

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

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
  format: text

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 Bitnami's PostgreSQL

db:
  type: postgresdb

postgresql:
  enabled: true
 
  primary:
    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"
  existingSecretPasswordKey: "my-postgres-password-key"

Queue Mode with Bitnami's 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

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"
  existingUsernameKey: "my-redis-username-key"
  existingPasswordKey: "my-redis-password-key"

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.

The external task runner runs as a sidecar container using the dedicated n8nio/runners image alongside each worker pod. In queue mode the main pod does not receive the sidecar because it does not execute workflows.

Basic External Task Runner

taskRunners:
  mode: external

Pinning the Runner Image Tag

By default the runner image tag matches the chart appVersion. Pin an explicit version with taskRunners.external.image.tag:

taskRunners:
  mode: external
  external:
    image:
      repository: n8nio/runners
      pullPolicy: IfNotPresent
      tag: "2.23.4"

External Task Runner with Queue Mode

In queue mode the sidecar is attached to worker pods only — the main pod is excluded automatically because it offloads all workflow execution to workers.

db:
  type: postgresdb

worker:
  mode: queue

taskRunners:
  mode: external
  external:
    resources:
      requests:
        cpu: 100m
        memory: 64Mi
      limits:
        cpu: 500m
        memory: 256Mi

Python Runner Support

The n8nio/runners image ships a Python runner alongside the JavaScript runner. Enable it with nodes.python.enabled: true (requires n8n 1.111.0+). This activates the Python Code node on the main container and starts the Python launcher inside the sidecar.

Tip: Python runner requires taskRunners.mode: external.

Enable Python Runner

nodes:
  python:
    enabled: true

taskRunners:
  mode: external

Install Python Packages

The n8nio/runners image ships only a bare Python environment. Use nodes.python.external.packages to install packages via uv pip install before the runner starts. Each listed package is automatically allowed in Code nodes — no separate allowlist entry is needed.

nodes:
  python:
    enabled: true
    external:
      packages:
        - pandas
        - numpy
        - requests

taskRunners:
  mode: external

Note: Package installation adds a few seconds to runner startup time on the first start. To avoid re-downloading packages on every pod restart, enable persistence (see below).

Persist Python Packages

Enable nodes.python.persistence to store installed packages on a PVC. When enabled, uv pip install detects existing packages on subsequent starts and skips the download.

nodes:
  python:
    enabled: true
    external:
      packages:
        - pandas
        - numpy
    persistence:
      enabled: true
      size: 2Gi
      accessMode: ReadWriteOnce  # use ReadWriteMany if workers span multiple nodes

taskRunners:
  mode: external

Packages are stored at /home/node/.python-packages inside the runner sidecar. When persistence.enabled is false (the default), an emptyDir volume is used and packages are re-installed on every pod restart.

For StatefulSet deployments (when main.count > 1 with ReadWriteOnce, or main.forceToUseStatefulset: true), each pod receives its own PVC via volumeClaimTemplates, so ReadWriteOnce works regardless of pod count. For Deployment-mode workers scaled by HPA across multiple nodes, use accessMode: ReadWriteMany with a compatible storage class (NFS, CephFS, etc.).

Warning: When worker.autoscaling.enabled: true, you must set nodes.python.persistence.accessMode: ReadWriteMany (or leave persistence disabled). The HPA will not render if python packages persistence is enabled with ReadWriteOnce, because scaling workers across nodes would cause PVC mount failures.

To allow all external packages without installing them (e.g. when packages are pre-installed in a custom image), set allowAll: true:

nodes:
  python:
    enabled: true
    external:
      allowAll: true

taskRunners:
  mode: external

Private Python Package Registry

By default, uv pip install resolves packages from pypi.org. Use pypiRegistry to point the runner sidecar at a private or self-hosted index instead (JFrog Artifactory, AWS CodeArtifact, Nexus, etc.).

Simple — URL only (no auth or inline credentials)

pypiRegistry:
  enabled: true
  url: "https://my.jfrog.io/artifactory/api/pypi/pypi-virtual/simple/"

This sets UV_DEFAULT_INDEX in the sidecar, replacing pypi.org as the default index.

Advanced — uv.toml config file (authentication or multiple indexes)

For authenticated registries, create a uv.toml with your index configuration and let the chart store it in a Kubernetes Secret:

pypiRegistry:
  enabled: true
  customUvConfig: |
    [[index]]
    name = "private"
    url = "https://my.jfrog.io/artifactory/api/pypi/pypi-virtual/simple/"
    default = true

    [index.credentials]
    username = "ci-user"
    password = "s3cr3t"

The chart creates a Secret from customUvConfig, mounts it into the runner sidecar, and sets UV_CONFIG_FILE to the mounted path. The entire file is base64-encoded in the Secret.

Note: Do not use url together with customUvConfig or secretName — when a config file is provided, the index URL belongs inside the uv.toml.

Advanced — reference an existing Secret

If you manage credentials in an existing Kubernetes Secret, reference it directly:

pypiRegistry:
  enabled: true
  secretName: "my-uv-config-secret"
  secretKey: "uv.toml"

The secret must contain a key matching secretKey (default: uv.toml) whose value is valid uv.toml content.

Restrict Python Module Access

Use nodes.python.builtin.modules to allowlist Python standard library modules. Use ["*"] to allow all. This setting applies to both the n8n broker (security enforcement) and the runner sidecar.

nodes:
  python:
    enabled: true
    builtin:
      modules:
        - os
        - sys
        - json
        - math
    external:
      packages:
        - numpy
        - pandas

taskRunners:
  mode: external

Full Queue Mode + External Runner + Python Example

db:
  type: postgresdb

worker:
  mode: queue
  count: 2

  waitMainNodeReady:
    enabled: true

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

nodes:
  python:
    enabled: true
    builtin:
      modules:
        - "*"
    external:
      packages:
        - numpy
        - pandas
    persistence:
      enabled: true
      size: 2Gi
      accessMode: ReadWriteMany  # required for queue-mode workers scaled across nodes

taskRunners:
  mode: external
  external:
    image:
      repository: n8nio/runners
      pullPolicy: IfNotPresent
      tag: ""
    resources:
      requests:
        cpu: 100m
        memory: 64Mi
      limits:
        cpu: 500m
        memory: 256Mi

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)
    • `pe

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 v1.24.43 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