Apache Superset on Kubernetes: operator or Helm chart

The official Helm chart is being deprecated for an alpha Kubernetes operator. This page helps you pick an install path, migrate safely and set production settings you can defend.

On this page

Why Apache Superset on Kubernetes needs an install path decision now

A platform team running Superset on Kubernetes has to pick an install path now, not after go-live. The official Helm chart is still described in the Superset 6.1.0 documentation, but the current development documentation marks it as deprecated and points new deployments to the Apache Superset Kubernetes Operator. That operator is in alpha, so the choice is between a path with a defined future and a path with a shaky present. Pick the path by how long you can tolerate change, not by which one is easier to install today.

Superset is a Flask and React application, so the web tier is only one piece of what you run. It depends on a metadata database, which the project tests with PostgreSQL and MySQL, and it needs a caching layer plus Celery worker and beat processes for alerts, reports, async queries and dashboard thumbnails. Whichever path you choose, you must decide how each of these pieces is provisioned, where its state lives, and who upgrades it. Confirm with the project which components each path creates by default and which you must supply, such as an external managed database or Redis instance.

The difficulty is that the operator's v1alpha1 custom resource schemas may change between releases. Any manifests, GitOps repositories or templating you write against those fields become a maintenance cost that recurs with each Superset release. The chart carries a different risk: it is deprecated, so new features and fixes may not reach it on the same schedule. Ask your vendor or internal platform team to record which path you chose, which release you pinned, and the trigger that would send you to the other path, such as the operator reaching a stable API or a chart removal date.

Which Superset components the Kubernetes install must run

A Superset install on Kubernetes is several cooperating workloads, not one container. Each component below has a different state profile and failure mode, so the choice between the Helm chart and the operator changes who maintains each piece, not whether the pieces exist.

Web application pods

The Flask and React application serves dashboards, SQL Lab and the API. In Kubernetes these pods should be stateless, so they can be scaled horizontally behind a service. Confirm that sessions, uploads and any local file paths are not stored in the pod filesystem, because a replaced pod would lose them. Check how many replicas your chart or custom resource requests before assuming high availability.

Architecture docs

External metadata database

The metadata database stores users, roles, dashboards, datasets and the state that migrations change. It must run outside the pods as a managed or separately operated PostgreSQL or MySQL instance, with persistent storage and backups. The supported range is PostgreSQL 10 to 17 or MySQL 5.7 and 8.x. SQLite and the Docker Compose PostgreSQL container are not recommended for production, so do not deploy the chart's bundled test database as your system of record.

Caching layer

The optional caching layer, most often Redis, holds cached query results and supports features such as alerts, reports and dashboard thumbnails. In Kubernetes it should be a managed or highly available service with its own persistence settings, not an ephemeral pod. Ask whether the cache is shared by web pods and workers, since a worker that cannot reach it will silently fail background jobs.

Celery worker and beat processes

Celery workers run async queries, alerts, reports and thumbnail generation, while beat schedules recurring tasks. Run workers as separate deployments that can scale independently of the web tier. Beat should run as a single instance, because duplicate beat processes can send duplicate reports. Confirm that both reach the broker and metadata database, and that task failures appear in your monitoring.

SECRET_KEY and configuration

Superset refuses to start without a user-specified SECRET_KEY, added in version 2.1.0. Store it in a Kubernetes Secret, never in a values file committed to version control. Plan rotation with PREVIOUS_SECRET_KEY before the key is ever changed, because rotating without it can lock users out of existing sessions and encrypted connection data. Keep the rest of superset_config.py in a ConfigMap or image layer that your team controls.

Configuration docs

Operator custom resources

The Apache Superset Kubernetes Operator manages these components through custom resources. The operator is in alpha with a v1alpha1 API, and its resource schemas may change between releases. Before you choose it over the Helm chart, confirm which resource fields your team will edit, how upgrades rewrite them, and who owns the migration from the chart. Treat the operator's manifests as versioned infrastructure code that needs review on every upgrade.

Operator docs

Which Apache Superset Kubernetes install path fits your team

This table compares the three ways to run Superset on Kubernetes: the official Helm chart documented for 6.1.0, the alpha Kubernetes Operator, and a team-maintained set of manifests. Read each row against your own upgrade ownership and tolerance for schema change, since the operator's v1alpha1 API may change between releases.

FactorOfficial Helm chartKubernetes Operator (alpha)Team-maintained manifests
Current statusDocumented for 6.1.0, marked deprecated in current development docsAlpha, built with the Go Operator SDKDepends on your templates and their upkeep
Best fitTeams on the documented 6.1.0 path that accept a planned migration laterTeams that can absorb API changes and want to track the project's directionTeams with strong Kubernetes skills who need full control of manifests
Upgrade ownershipYour team, following the upgrade documentation and UPDATING.mdYour team, plus rework when v1alpha1 resources changeYour team, for every chart or manifest change
Schema change riskLow for the documented path, but the chart itself is being phased outHigher: custom resource schemas may change between releasesDepends on how closely templates track Superset releases
Documentation currencyCurrent docs for 6.1.0 exist, but new deployments are directed elsewhereMaintained by the project, but expect frequent changes while alphaOnly as current as your internal runbooks
Who maintains the templatesApache Superset project (deprecated path)Apache Superset project (alpha)Your platform team or a partner you engage
Migration effort laterRequired before the chart is retired; plan a cutover in staging firstLower risk after the operator reaches a stable API; confirm this with the projectDepends on how far you diverge from the operator model
Question to confirmSupport window for the chart after deprecationCurrent API version and upcoming breaking changesWho owns template reviews on each Superset release

How the Superset parts connect inside the cluster

The diagram starts at the ingress, where user requests enter the cluster and reach the Superset web pods. The web pods read and write the metadata database, use the cache for async queries and thumbnails, and hand background work to Celery workers, which the beat scheduler triggers for alerts and reports. Superset then queries the analytics databases outside the cluster boundary. The secret key and database credentials are injected into the pods from Kubernetes secrets, so check that they are not baked into images or values files, and confirm that the external data source connections are the only path that crosses the trust boundary.

Web, metadata, cache and worker components, with the trust boundary to external data sources.

How to build Apache Superset on Kubernetes step by step

This sequence takes a team from an empty cluster to a Superset instance with an external metadata database, a secured web endpoint and a connected identity provider. Each step ends with a check, so problems surface before the next layer is added.

  1. Choose the install path and pin the version

    Decide between the official Helm chart and the Apache Superset Kubernetes Operator before writing any manifests. The current development documentation marks the Helm chart as deprecated and points new deployments to the operator, which is alpha with a v1alpha1 API whose schemas may change between releases, so confirm which path your organization accepts and record the exact Superset version you will run. Check the release notes on the GitHub releases page for the target version. Done when the install path, image tag and operator or chart version are written in your change record and approved by the platform owner.

  2. Provision the external metadata database and cache

    Create a PostgreSQL or MySQL instance outside the cluster for Superset's metadata, using a version in the supported range listed in the configuration documentation (PostgreSQL 10 to 17, MySQL 5.7 and 8.x). Do not use the PostgreSQL container from Docker Compose or the SQLite default, which the architecture documentation does not recommend for production. If alerts, reports, async queries or thumbnails are in scope, provision Redis or another cache as well. Done when your team can connect to both services from a test pod in the same namespace and backups are confirmed on the database.

  3. Create the SECRET_KEY and runtime secrets

    Generate a strong SECRET_KEY, which Superset requires to start, and store it with the database credentials, cache connection string and any OAuth client secrets in your secret manager, then expose them to pods as Kubernetes Secrets rather than plain config values. Record a rotation plan that uses PREVIOUS_SECRET_KEY. Confirm that no secret appears in the Helm values file or operator custom resource committed to source control. Done when the secrets exist in the target namespace, pods can read them, and a scan of the repository finds no embedded credentials.

  4. Deploy the web application

    Deploy the Superset web tier with the chosen path, pointing it at the external metadata database and cache, and set replica count and resource requests in the values or custom resource. The web pods are the application layer that serves the Flask and React interface. Do not run database initialization from every replica at this stage. Done when the pods reach a ready state and the health endpoint answers from inside the cluster.

  5. Run database migrations and initialization

    Run superset db upgrade and superset init once against the metadata database, as a controlled job rather than an automatic side effect of pod startup. Before running it, take a backup of the metadata database and check UPDATING.md for breaking changes between versions. Run the same steps in staging first. Done when the migration job completes without errors, the schema version matches the release you deployed, and an admin account can sign in to the local login page.

  6. Deploy workers and beat for alerts and reports

    Only if alerts, scheduled reports, async queries or dashboard thumbnails are in scope, deploy Celery worker and beat processes that use the same cache and metadata database. The architecture documentation says these features require the caching layer and worker components. Set worker concurrency and queue names deliberately, and keep beat to a single scheduler instance. Done when a test report runs on schedule and its output is delivered to the expected destination.

  7. Configure ingress and HTTPS

    Expose the web service through your ingress controller with a DNS name your users trust and a certificate issued by your certificate authority. Set the public URL and proxy headers in Superset configuration so redirects and generated links use HTTPS. Restrict the endpoint to the networks your policy allows. Done when the login page loads over HTTPS with a valid chain, and a request over plain HTTP is redirected or refused.

  8. Connect the identity provider

    Configure OAuth2 or LDAP in Superset, using the provider settings in the configuration documentation, and map identity provider groups to Superset roles with AUTH_ROLES_MAPPING. Test sign-in with one user from each role group and confirm that a user outside the groups receives no access. Disable or restrict local accounts that are not needed for break-glass use. Done when each test account lands in the expected role and the role assignments match the access model approved for the pillar.

Moving an existing Helm chart deployment to the operator

Moving a running Superset deployment from the Helm chart to the operator is a controlled migration of the deployment layer, not of the data, and the first task is an inventory of what the chart currently sets. List every value and override in your chart values file, including image tags, replica counts, resource requests, ingress, the superset_config.py content injected through the chart, secret references, and any extra environment variables or init containers. Each item must be mapped to either a field in the operator's custom resources or a configuration key that stays in superset_config.py. Confirm against the operator documentation at apache.github.io/superset-kubernetes-operator which fields exist in the current v1alpha1 API, since the schema may change between releases. Treat the operator's documentation as the source of truth for field names, and do not assume a one-to-one match with chart values.

Keep the metadata database and its data in place. The operator does not change where Superset stores dashboards, datasets, users, and roles, so the same PostgreSQL or MySQL instance should continue to serve the new deployment. Before any change, take a verified backup of the metadata database and record the SECRET_KEY and any PREVIOUS_SECRET_KEY value, because Superset cannot read encrypted connection credentials without the correct key. Then run the same steps the upgrade documentation prescribes: superset db upgrade and superset init, after checking UPDATING.md for breaking changes between your current version and the target. Run these in staging first, against a restored copy of the production database. Confirm with the operator team whether the operator runs these steps automatically or expects you to run them as jobs, because running them twice or not at all are both failure modes.

Test the cutover in staging before production, and define the rollback plan before the cutover window. Verify logins through your identity provider, scheduled reports, async queries, thumbnails, and connections to each analytics database. Keep the chart release and its values available so you can reinstall it if the operator deployment fails, and confirm that the database has not been migrated to a schema the old chart cannot run; that is the main reason a rollback can fail. Ask the operator project whether a supported migration tool exists. Do not assume one does. Migration stops being worth it if the operator still lacks a capability your chart configuration depends on, if your team cannot accept an alpha API that may change between releases, or if the staging tests show unresolved gaps. In those cases, staying on the chart until the operator matures is the safer choice.

What drives Apache Superset Kubernetes effort and cost

This table lists the factors that change how much work a Superset Kubernetes deployment takes and what it costs to run. Read each row as a question to answer before requesting a quote, since the choices made early (operator or chart, managed or self-run database, async features in scope) shape most of the later effort.

DriverWhat raises effortHow to keep it down
Number of environmentsSeparate development, staging and production clusters or namespaces, each with its own secrets, database and upgrade pathKeep one reviewed manifest or chart values set, changed only through variables per environment, and test upgrades in staging first
Alerts, reports and async queriesScope includes the caching layer and Celery worker and beat processes, which the architecture documentation says these features requireDecide early whether these features are needed at go-live, and phase them in if not
Metadata database hostingSelf-run PostgreSQL or MySQL means you own backups, failover, patching and restore testing inside the clusterUse a managed database with backups if your platform team already operates one, and confirm the supported versions first
Identity integrationOAuth2, LDAP or remote user headers each need configuration, group mapping through AUTH_ROLES_MAPPING and testing with real identitiesAgree the identity provider and group model before build starts, and limit the first release to one provider
Network policy and ingressCluster network policies, ingress controllers, TLS certificates and egress rules to each data source must be designed and reviewedReuse the platform team's existing ingress and certificate patterns and document each required egress path once
Data source connectionsEach database connection needs its own credentials, network path and testing, and the count multiplies verification workStart with the sources needed for the first dashboards and add others through a standard request process
Custom imagesCustom Python drivers, plugins or security managers require a build pipeline, image scanning and rebuilds for every Superset releaseKeep customizations minimal and confirm each one still works after each upgrade in staging
Compliance evidence needsAssessors may ask for configuration records, access reviews, backup restore results and change history for each control you claimAgree the evidence list before build, and generate it from the deployed configuration and pipeline logs as the work goes

Securing Superset secrets, network paths and the cluster

Superset on Kubernetes holds session signing material, database credentials and access to every connected data source, so the cluster has to protect those values as carefully as the application. The cards below cover the controls that connect the application configuration, the Kubernetes objects around it and the release process your team follows after go-live.

Generate and store SECRET_KEY

Superset refuses to start without a user-specified SECRET_KEY, which was added in version 2.1.0. Generate a long random value once, store it in a Kubernetes Secret and inject it into the web, worker and beat pods from that same Secret. Do not commit it to a Helm values file or bake it into an image. Confirm that every pod type reads the same value, because a mismatch breaks sessions and signed links across replicas.

Configuration docs

Rotate SECRET_KEY safely

Rotation is a two-step change. Set PREVIOUS_SECRET_KEY to the current value while the new SECRET_KEY rolls out, so existing sessions and encrypted fields still decrypt during the transition. Plan this as a change window with a Secret update, a rolling restart of all pods and a check that logins and scheduled reports still work. Record the rotation date so your audit evidence shows when the key changed.

Keep data source credentials out of images

The metadata database password, the cache credentials and every warehouse or database connection string should live in Kubernetes Secrets or your external secrets manager, mounted or injected at runtime. Database connections created in the Superset UI are stored in the metadata database, so review who can create or edit them. Confirm with your platform team whether your cluster encrypts Secrets at rest and who can read them through RBAC.

Restrict network paths to data stores

Only the Superset web pods, worker pods and beat pods should reach the metadata database and the cache. Use NetworkPolicy objects, where your cluster network plugin enforces them, to allow those specific pod selectors on the PostgreSQL or MySQL port and the cache port, and deny everything else into those namespaces. Confirm that your database and cache are not reachable from the public internet or from other tenants' namespaces.

Terminate HTTPS at ingress

Expose the Superset service only through an Ingress or Gateway that terminates TLS with certificates managed by your standard process. Set the Superset service to ClusterIP and avoid NodePort or direct LoadBalancer exposure of the web pods. Confirm how the ingress passes client identity and forwarded headers to Superset, since OAuth callback URLs and secure cookies depend on the external hostname and scheme being correct.

Track releases and published CVEs

Subscribe your team to the Apache Superset release feed and review each new version's notes before you schedule an upgrade. Compare the running image tag against the latest release at least on a regular cadence, and treat published security issues as inputs to a staged upgrade in your staging cluster. Ask your operator or chart maintainer how image rebuilds are published so base-image patches reach your registry.

Superset releases

How to test the Kubernetes install and confirm it fails safely

Treat the test plan as the acceptance gate for the chosen install path, whether that is the Helm chart or the alpha operator. Start with a login through your identity provider, since the first thing users touch is the OAuth2, LDAP or remote user path, and confirm that a test user lands with the expected role after AUTH_ROLES_MAPPING is applied. Then open a dashboard built on a dataset that queries a connected analytics database, so you know the web tier, the metadata database and the database connection all work together. Use a non-production data source with known row counts so a wrong answer is easy to spot.

If workers are enabled, run a scheduled alert or report on demand and confirm the message or file arrives. Dashboard thumbnails and async queries also depend on the caching layer and workers, so check them too. Next, restart one web pod and run a rollout of the Deployment or operator-managed resources while a user session is active, watching for dropped requests and failed login redirects. Then restore a copy of the metadata database into staging from your backup, point a staging Superset at it, and confirm dashboards, users and saved queries come back. Record the time each step takes, since that is your real recovery baseline.

For failure checks, scale the cache and each worker deployment to zero, one at a time, and record what breaks. Confirm the web tier keeps serving dashboards and SQL Lab queries, and that only features that need the cache or workers (async queries, scheduled reports, thumbnails) degrade. Also confirm the expected behavior when the metadata database is unreachable: the application should fail visibly rather than serve stale or wrong data. Ask your platform team to confirm the readiness and liveness probe settings, the restart policy, and what alerting fires on each failure. Confirm these details in your own cluster and with your Superset version's documentation, since behavior can differ by release.

What to monitor, back up, upgrade and document after go-live

After the first deployment, the Kubernetes install adds moving parts that need routine attention: web pods, workers, the metadata database and the chart or operator version itself. The cards below cover what to watch, what to back up, how to upgrade safely and what to write down so another engineer can operate the platform.

Monitor web, worker and database health

Watch the web pods, the Celery worker and beat pods, the cache, and the metadata database as separate services. Alerts and reports, async queries and dashboard thumbnails depend on the caching layer and workers, so a worker that stops consuming jobs can fail silently while the web UI still loads. Confirm which health signals your cluster exposes for each component and who is paged for each one.

Architecture docs

Back up the metadata database

The metadata database holds dashboards, charts, datasets, users and roles, so it is the state you must be able to restore. Take a backup before every upgrade and test a restore into a non-production environment on a schedule. Confirm with your database platform team where backups are stored, how long they are kept, and who can restore them.

Supported metadata versions
PostgreSQL 10 to 17

Upgrade through staging first

Run each upgrade in staging before production, following the upgrade documentation: back up the metadata database, run superset db upgrade, then superset init. Read UPDATING.md for breaking changes between the versions you are crossing, since configuration keys and behavior can change. Record the outcome of each staging run so the production change has a tested path to follow.

Upgrade docs

Track chart and operator versions

Pin the Helm chart or operator version and the Superset image tag in version control, and review release notes before changing either. The operator is alpha with a v1alpha1 API whose custom resource schemas may change between releases, so a version bump can require manifest edits. Ask your team to confirm which component owns each version and whether a deprecation timeline has been announced for the chart you run.

Document values and secret locations

Keep a record of the Helm values or custom resource settings in use, where each secret is stored, including the SECRET_KEY and any PREVIOUS_SECRET_KEY used during rotation, and which external systems hold database credentials. Without this record, a rotation or cluster rebuild depends on one person's memory. Store the document beside the deployment manifests and review it after each upgrade.

Write runbooks for common incidents

Write short runbooks for the failures your team is most likely to see: a crashed worker, a failed superset db upgrade, a database failover, and a rollback to the previous image. Each runbook should name the owner, the commands or manifests involved, and the check that confirms recovery. Test at least one runbook in staging so the steps are known to work before an incident.

Questions teams ask before running Superset on Kubernetes

Should we deploy Apache Superset on Kubernetes with the Helm chart or the operator now?

For a new deployment, the current development documentation points you to the Apache Superset Kubernetes Operator, because the Helm chart is marked deprecated there. The 6.1.0 documentation still describes the official Helm chart, so a team pinned to 6.1.0 will find the chart guidance in that version. Decide based on your release line and your tolerance for change. Confirm with the project which chart or operator path is current for the version you intend to run, and check the Superset Kubernetes installation guide before you commit to a manifest set.

Is the Superset Kubernetes Operator ready for production use?

The operator is in alpha, is built with the Go Operator SDK, and exposes a v1alpha1 API whose custom resource schemas may change between releases. That makes it a poor fit for an unattended production rollout unless your team accepts resource rewrites during upgrades. Before you rely on it, confirm the current maturity statement in the operator documentation, pin the exact operator and Superset versions, and plan a staging environment that mirrors production. Ask whether the project publishes a stable API version and a documented path from v1alpha1 to a stable release.

How long does a migration from the Helm chart take, and what drives it?

No migration duration has been published for this path, so treat any figure from a vendor as a claim to verify against your own environment. The main drivers are the number of Superset components you run (web nodes, Celery workers, beat, and cache), the state you must preserve, and how many environments you must move. Metadata database handling matters most: you back up the database, run superset db upgrade and superset init as the upgrade documentation describes, and test in staging first. Ask any partner to size the migration from an inventory of your values files, secrets, data source connections and custom configuration.

What does the internal team need to provide for a Kubernetes Superset rollout?

Your team supplies the decisions and access that an outside engineer cannot make for you. The list usually includes:

  • A Kubernetes cluster with namespaces, ingress, TLS certificates and secret storage that your security team has approved
  • A managed or self-hosted PostgreSQL or MySQL metadata database within the supported versions, PostgreSQL 10 to 17 or MySQL 5.7 and 8.x, with backups
  • Identity provider settings for OAuth2, LDAP or group mapping through AUTH_ROLES_MAPPING
  • Owners for data source credentials, dataset approval and role design

Agree on who signs off on each item before the work starts, because these gaps are where schedules slip.

Can our own platform team run Superset on Kubernetes without outside help?

Yes, a capable platform team can run Superset on Kubernetes without a partner, provided it has Kubernetes operations experience, database administration skills and a clear upgrade process. The harder parts are the ones the documentation emphasizes: a user-specified SECRET_KEY that must be set before startup and rotated with PREVIOUS_SECRET_KEY, a production metadata database rather than the SQLite default, and a caching layer and Celery workers for alerts, reports and async queries. Assess your staff against those requirements and against the alpha status of the operator. A partner is most useful when the deadline is fixed or the team has no one who has run these components.

What should a fixed-scope quote for Superset on Kubernetes include?

A fixed-scope quote should name each deliverable and the environments it covers, in writing before work starts. Ask it to list the Superset and operator or chart versions, the metadata database and its backup approach, the cache and worker design, the identity integration, the data source connections in scope, the upgrade and staging test steps, and handover documentation. Cost has one-time parts, such as design, build and migration, and recurring parts, such as upgrades, patching and support, which should be priced separately. DeployOpen does not publish a price list, so a quote follows from the written scope. Ask every bidder for the same scope so the figures can be compared.

How DeployOpen scopes, builds and hands over Superset on Kubernetes

DeployOpen plans, builds and hands over Apache Superset on Kubernetes inside your own cloud accounts, data centers or air-gapped networks. We start by agreeing the deployment path in writing, whether that is the Helm chart for a supported release or the Kubernetes operator once you accept its alpha status, and then build, test and document the result for your team to run.

How we scope

  • Written scope fixes the Superset version, Kubernetes platform, metadata database and deployment method before work starts.
  • Scope names the cache, Celery worker and beat components, and whether alerts, reports and async queries are in or out.
  • Scope records identity integration, data source connections and secret handling, so the quote reflects the real work involved.

How we build

  • We deploy into your cluster with PostgreSQL or MySQL as the metadata database, not the SQLite default.
  • We set a user-specified SECRET_KEY, configure its rotation with PREVIOUS_SECRET_KEY, and keep secrets out of image layers.
  • We test the deployment in staging, including an upgrade rehearsal with a metadata database backup taken beforehand.

How we hand over

  • You receive the manifests or chart values, configuration overrides and a record of every version and setting used.
  • Runbooks cover backup and restore of the metadata database, worker scaling, and the Superset upgrade steps in UPDATING.md.
  • Handover includes a walkthrough with your platform and security teams, with written evidence of the tests that were run.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, with terms set in the written agreement.
  • Upgrade work follows the documented sequence: back up, run superset db upgrade and superset init, then test in staging first.
  • If you move from the Helm chart to the operator later, we plan and test that migration as a separate, written piece of work.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.