superset

by HelmForge

Helm chartv1.4.5App 6.1.0Apache-2.0Verified publisher

Apache Superset BI platform with web, worker, and beat deployments backed by PostgreSQL and Redis

About this chart

Apache Superset

Apache Superset is a modern, enterprise-ready business intelligence web application for data exploration and visualization. It supports 60+ database connectors, interactive dashboards, SQL Lab, and a rich set of visualizations.

Features

  • Three-component architecture — web server (Gunicorn), Celery worker, and Celery beat scheduler as separate Deployments for independent scaling
  • Managed init Job — ordered database migration, Superset initialization, and administrator creation on every release revision
  • PostgreSQL subchart — bundled metadata store with option for external database
  • Redis subchart — bundled Celery broker and result backend with option for external Redis
  • superset_config.py via ConfigMap — extend Superset configuration through superset.extraConfig
  • Additional Python packages — install pinned database drivers consistently in web, worker, beat, and init
  • Auto-generated secrets — admin password, Flask SECRET_KEY, database and Redis passwords
  • Health probes — startup, liveness, and readiness probes on /health
  • Hardened runtime — non-root containers, read-only root filesystem, seccomp, dropped capabilities, and scoped wait RBAC
  • NetworkPolicy — web-listener ingress isolation with configurable egress
  • Ingress support — configurable with ingressClassName (traefik, nginx, etc.)

Install

Helm repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install superset helmforge/superset -f values.yaml

OCI registry

helm install superset oci://ghcr.io/helmforgedev/helm/superset --version <version> -f values.yaml

Upgrading from Superset 4

This chart crosses the Superset 5 and 6 major releases. Back up the metadata database before upgrading and plan for migration downtime. The chart's init Job runs superset db upgrade and superset init before the application workloads become ready. Superset 6 removes AUTH_OID; installations using it must move to OAuth, LDAP, or database authentication first. Custom frontend extensions may also need changes for the React upgrade introduced in Superset 5.

Review the upstream Superset 5 update notes and Superset 6 update notes before upgrading production installations.

Architecture

Client -> Service -> web Deployment -> PostgreSQL and Redis
Celery worker Deployment -> PostgreSQL and Redis
Celery Beat Deployment -> Redis
init Job -> PostgreSQL
web, worker, and beat init containers -> init Job status

Default Values

KeyDefaultDescription
image.repositoryapache/supersetContainer image
image.tag"6.1.0"Immutable image tag
superset.adminUsernameadminAdmin username
superset.adminPassword"" (auto)Admin password
superset.secretKey"" (auto)Flask SECRET_KEY
superset.loadExamplesfalseLoad example dashboards
superset.installPythonPackagestrueInstall runtime Python dependencies at process startup
superset.extraPythonPackages[]Additional Python package specifications installed in every Superset process
web.replicaCount1Web server replicas
web.containerPort8088Gunicorn listener port
web.workers2Gunicorn workers
web.timeout120Gunicorn timeout
worker.enabledtrueEnable Celery workers
worker.replicaCount1Worker replicas
worker.concurrency2Celery concurrency
beat.enabledtrueEnable Celery beat
init.enabledtrueEnable init job
database.modesubchartDatabase mode: subchart or external
redisConfig.modesubchartRedis mode: subchart or external
service.typeClusterIPService type
service.port80Service port
ingress.enabledfalseEnable ingress
ingress.ingressClassNametraefikIngress class
networkPolicy.enabledtrueRestrict ingress to the web listener
postgresql.enabledtrueEnable PostgreSQL subchart
postgresql.standalone.persistence.enabledtrueEnable persistent storage for bundled PostgreSQL
postgresql.standalone.persistence.storageClass""Storage class for bundled PostgreSQL; empty uses the cluster default
postgresql.standalone.persistence.accessModes[ReadWriteOnce]Access modes for the bundled PostgreSQL PVC
postgresql.standalone.persistence.size8GiBundled PostgreSQL PVC size
redis.enabledtrueEnable Redis subchart
redis.standalone.persistence.enabledtrueEnable persistent storage for bundled Redis
redis.standalone.persistence.storageClass""Storage class for bundled Redis; empty uses the cluster default
redis.standalone.persistence.accessModes[ReadWriteOnce]Access modes for the bundled Redis PVC
redis.standalone.persistence.size8GiBundled Redis PVC size

Bundled Storage

PostgreSQL and Redis are enabled in standalone mode by default. Configure their PVCs through each subchart's standalone.persistence values. Leave storageClass empty to use the cluster's default StorageClass.

postgresql:
  enabled: true
  standalone:
    persistence:
      enabled: true
      storageClass: fast-storage
      size: 20Gi

redis:
  enabled: true
  standalone:
    persistence:
      enabled: true
      storageClass: fast-storage
      size: 8Gi

External Database

postgresql:
  enabled: false

database:
  mode: external
  external:
    host: postgres.example.com
    port: 5432
    name: superset
    username: superset
    existingSecret: superset-database
    existingSecretPasswordKey: password
    sslMode: verify-full

External Redis

redis:
  enabled: false

redisConfig:
  mode: external
  external:
    host: redis.example.com
    port: 6379
    tls: true
    existingSecret: superset-redis
    existingSecretPasswordKey: password
    db: 0

Ingress

ingress:
  enabled: true
  ingressClassName: traefik  # or nginx
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
  hosts:
    - host: superset.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: superset-tls
      hosts:
        - superset.example.com

Custom Configuration

Extend superset_config.py via superset.extraConfig:

superset:
  extraConfig: |
    FEATURE_FLAGS = {
        "DASHBOARD_NATIVE_FILTERS": True,
        "DASHBOARD_CROSS_FILTERS": True,
    }
    ROW_LIMIT = 50000

Additional Python Packages

Use superset.extraPythonPackages for development and simpler deployments that need optional database drivers. Package entries support names with optional version constraints. Pin a tested version so every Superset process receives the same dependency:

superset:
  extraPythonPackages:
    - clickhouse-connect==0.13.0

Superset 6.1.0 recommends clickhouse-connect>=0.13.0 for ClickHouse and uses the clickhousedb://user:password@host:port/database SQLAlchemy URI.

These packages are downloaded when the init, web, worker, and beat containers start. Their startup therefore depends on package-index availability. For production, build an immutable image instead:

FROM apache/superset:6.1.0

USER root

RUN . /app/.venv/bin/activate && \
    uv pip install psycopg2-binary redis "clickhouse-connect==0.13.0"

USER superset

Push the image to your registry, then configure its immutable tag and disable runtime installation:

image:
  repository: registry.example.com/superset
  tag: 6.1.0-clickhouse-0.13.0

superset:
  installPythonPackages: false

When runtime installation is disabled, the image must contain psycopg2-binary, redis, and every entry from extraPythonPackages.

Security

The default containers run as UID/GID 1000, use RuntimeDefault seccomp, drop all Linux capabilities, block privilege escalation, and mount a read-only root filesystem. Ephemeral volumes provide only /tmp and /app/superset_home as writable paths. The initialization and backup Jobs do not receive Kubernetes API tokens. Application pods receive a namespaced token only while init.enabled=true, because their wait container must read the initialization Job status.

superset.secretKey signs sessions and encrypts sensitive metadata. The chart preserves an auto-generated key across Helm upgrades, but production operators should provide superset.existingSecret and include that Secret in the recovery plan. Treat superset.extraConfig as trusted Python code.

The default NetworkPolicy permits only the configured Superset listener for ingress and allows egress. Restrict networkPolicy.ingressFrom and networkPolicy.egress for the ingress controller, DNS, datastores, Python package index, external data sources used by the deployment, and the Kubernetes API server while init.enabled=true.

Troubleshooting

Inspect initialization before debugging the long-running workloads:

kubectl get job,pod -n <namespace> -l app.kubernetes.io/instance=<release>
kubectl logs -n <namespace> job/<release>-superset-init-<revision>
kubectl logs -n <namespace> deployment/<release>-superset-web --tail=200
kubectl get events -n <namespace> --sort-by=.lastTimestamp

If a pod waits for PostgreSQL or Redis, verify the selected datastore mode, Service name, Secret key, TLS setting, and NetworkPolicy egress. If the web pod is running but not Ready, test /health on web.containerPort from inside the pod. See the operations guide for upgrade and recovery checks.

More Information

  • Chart design
  • Configuration
  • Operations
  • Security
  • External datastores
  • Production example

🟢 Security Scan: superset

FrameworkScore
MITRE + NSA + SOC276.46465%

✅ Security posture acceptable.

Deploy superset with OpenTenant

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