Skip to main content
Version 3.0

Superset, from first access
to the team's dashboards.

Six common scenarios, from the first installation to the data sources. Each one covers: what the chart already provides, what changes in the cluster, the values file commented line by line, and a step-by-step with verification.

ChartVersion3.0.3TypeapplicationAppVersion5.0.0
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+
Feature SupportLDAPsupportedExternal DBsupportedIngresssupportedGateway APIsupported

The tdp-superset chart starts Apache Superset with the web interface, worker and task scheduler, plus embedded Redis and PostgreSQL for the queue and metadata. The database, access, login and data sources are your choices, and each scenario below covers one of them. For the architecture, see Superset - Concepts.

Your environment

If you fill in your environment details here, this page's examples and commands use the values you provided. The namespace, release name and values file are your choices, not the chart's.

Scenarios​

Install with your own secret key and admin password, and enter the interface from your machine.

This tab installs Superset with the chart defaults and enters the interface from your machine. What starts is the web interface; the worker and Celery Beat, which run background and scheduled tasks; and two embedded supporting services: Redis, for the queue and cache, and PostgreSQL, for metadata.

You want to see Superset working before deciding on the database, access or corporate login. At installation, you change only what must not stay at its default: the secret key, which Superset uses to encrypt stored credentials, and the admin password. The other scenarios start from this state.

Components

Web interface and worker, with replicas from supersetNode.replicas.replicaCount and supersetWorker.replicas.replicaCount, and a single Celery Beat replica. Embedded Redis and PostgreSQL in the same namespace.

Access

Internal Service (ClusterIP) on the port defined in service.port, without Ingress. Login with the admin user, created by the init Job.

Secrets

The extraSecretEnv.SUPERSET_SECRET_KEY key has an example value, and the admin and embedded PostgreSQL passwords are temporary, the same as those of the other TDP charts. Set your own before using Superset for anything beyond testing.

Before starting

A valid TDP license in the cluster and the tdp-registry pull Secret in the release namespace.

What starts in the namespace with the chart defaults

namespace <NAMESPACE>port-forwardWho connectsport-forwardServiceClusterIP · service.portSupersetweb interface · local loginWorkerCeleryCelery Beatscheduled tasksRedisqueue and cachePostgreSQLmetadata · volumeInit JobTDP licenseSecret tdp-registry
  1. Who connects. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. This serves testing, not a team. Chart default: no external exposure (port-forward).
  2. Service. The internal address of the Superset interface in the cluster. The name derives from the release: <RELEASE_NAME>-tdp-superset, or just <RELEASE_NAME> when the release name already contains tdp-superset. Chart default: ClusterIP, on the port defined in service.port. (tdp-superset.service.type · tdp-superset.service.port)
  3. Superset (web interface). The interface where charts and dashboards are built. Login uses Superset's own users; the first is admin, created by the init Job. Chart default: replicas in supersetNode.replicas.replicaCount · requests and limits in resources. (tdp-superset.supersetNode.replicas · tdp-superset.resources)
  4. Worker (Celery). Runs Superset background tasks, received through the Redis queue. Chart default: replicas in supersetWorker.replicas.replicaCount · requests and limits in supersetWorker.resources. (tdp-superset.supersetWorker)
  5. Celery Beat. Triggers Superset's scheduled tasks. Always runs as a single replica. Chart default: on · requests and limits in supersetCeleryBeat.resources. (tdp-superset.supersetCeleryBeat)
  6. Embedded Redis. Stores the Celery queue and Superset cache. Starts without a password or persistent volume. Chart default: on. (tdp-superset.redis.enabled)
  7. Embedded PostgreSQL. Stores Superset metadata, including data source connections, with credentials encrypted by the secret key. The volume remains in the cluster after helm uninstall. Chart default: on, with the superset user and database. (tdp-superset.postgresql.enabled)
  8. Init Job. Runs after each installation and upgrade: prepares the metadata database, creates the admin user the first time and, with import enabled, registers data sources. Chart default: on. (tdp-superset.init)
  9. License. The chart requires a valid TDP license installed in the cluster. (kubectl get platformlicenses -A)
  10. Pull Secret. Images come from the TDP registry, with your credentials read from the tdp-registry Secret in the release namespace. Chart default: tdp-registry. (tdp-superset.imagePullSecrets)
What starts in the namespace with the chart defaults. Click an element to see what it is and its corresponding default.

Check the TDP license

The chart requires a valid TDP license installed in the cluster.

Terminal input
kubectl get platformlicenses -A

Success when

The license appears in the list. If it does not, install or renew it before continuing (Licensing Configuration).

Create the pull Secret in the namespace

Superset images come from the TDP registry, with your credentials read from the tdp-registry Secret in the release namespace.

Terminal input
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>

Success when

Terminal input
kubectl -n <NAMESPACE> get secret tdp-registry

The Secret appears in the namespace.

If the namespace does not exist yet

If the namespace does not exist, create it before the Secret with kubectl create namespace <NAMESPACE>, and repeat the command. The registry username and CLI secret are in Prerequisites.

Write the values file

The secret key and admin password, in a private values file.

The secret key must be a long random value. One way to generate it:

Terminal input
openssl rand -base64 42

Click the markers to understand each line.

1tdp-superset:
2extraSecretEnv:
3 SUPERSET_SECRET_KEY: "<SECRET_KEY>"
4init:
5 adminUser:
6 password: "<PASSWORD>"

Everything belonging to Superset goes under the subchart key. Without this prefix, Helm does not apply the block.

  1. Chart prefix (linha 1). Everything belonging to Superset goes under the subchart key. Without this prefix, Helm does not apply the block.
  2. Secret key (linha 3). Superset uses it to encrypt data source credentials stored in the metadata database. Set it before the first installation.
  3. Admin password (linha 6). Only applies when the admin user is created, on the first installation. After that, change the password through the Superset interface.
Secret key and admin password

The embedded PostgreSQL passwords are also temporary. The Metadata database scenario shows how to change them.

Install the chart

With your values file. The rest comes from the chart defaults, as in the figure above.

Terminal input
helm install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-superset \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>

--version pins the chart version. Without --version, Helm installs the latest published version. On OpenShift, the command is the same: the chart adapts security contexts automatically with global.compatibility.openshift.adaptSecurityContext.

Success when

Terminal input
kubectl -n <NAMESPACE> get pods

The interface, worker, Celery Beat, Redis and PostgreSQL pods reach Running.

If a pod does not start or a Job fails

A failed Job remains in the cluster with its log. Jobs and namespace events, in time order, show the reason:

Terminal input
kubectl -n <NAMESPACE> get jobs
kubectl -n <NAMESPACE> get events --sort-by=.lastTimestamp

Then look up the message in When something goes wrong.

Enter the interface from your machine

Without external exposure, kubectl opens a tunnel from your machine to the Service.

Terminal input
kubectl -n <NAMESPACE> port-forward svc/<RELEASE_NAME>-tdp-superset 8088:8088

The Service name derives from the release: <RELEASE_NAME>-tdp-superset, or just <RELEASE_NAME> when the release name already contains tdp-superset.

Success when

The Superset interface opens on localhost, at the local port in the port-forward above, and accepts the admin user with the password you set.

When something goes wrong​

Troubleshooting

Paste the error message or choose the symptom. The answer comes with the cause, what to do and the command.

  1. Installation refused: license check failed. Cause: The TDP license is missing or invalid in the cluster. What to do: Install or renew the license (Licensing Configuration) and repeat the installation.
  2. ImagePullBackOff on Superset images. Cause: The tdp-registry pull Secret does not exist in the release namespace. What to do: Create the tdp-registry Secret in the namespace, with your registry credential (First contact scenario).
  3. Installation fails: both Ingress toggles are enabled. Cause: tdp-superset.ingress.enabled is enabled along with TDP-Settings.gateway.ingress.enabled, and chart rendering fails. What to do: Remove tdp-superset.ingress.enabled from the values file. Only TDP-Settings.gateway.ingress.enabled enables Ingress (Publish at a URL scenario).
  4. Database creation Job failed (external PostgreSQL). Cause: The <RELEASE_NAME>-create-superset-db Job could not create the database and user in external PostgreSQL: administrator Secret missing from the Superset namespace, address or password. What to do: The failed Job remains in the cluster with its log. Fix the cause (Metadata database scenario) and run the same helm upgrade --install: it replaces the Job.
  5. New installation does not accept the new database passwords. Cause: The embedded PostgreSQL volume remains in the cluster after helm uninstall, and a new installation in the same namespace finds the old database and its passwords. What to do: To start from scratch, delete the volume after helm uninstall.
  6. The new admin password does not work. Cause: init.adminUser.password only applies when the admin user is created, on the first installation. What to do: Change the admin password through the Superset interface.
  7. port-forward: Service not found. Cause: The Service name derives from the release: <RELEASE_NAME>-tdp-superset, or just <RELEASE_NAME> when the release name already contains tdp-superset. What to do: List the namespace Services and use the name shown for port-forward.
  8. Another problem. Cause: Start with the pod and Job status and namespace events. What to do: The events in time order show what keeps the pod from starting.

What remains after uninstalling​

To uninstall, run helm uninstall <RELEASE_NAME> -n <NAMESPACE>. The embedded PostgreSQL volume, data-<RELEASE_NAME>-postgresql-0, remains in the cluster, and a new installation in the same namespace finds the old database and its passwords. To start from scratch, delete it after uninstall:

Terminal input
kubectl -n <NAMESPACE> delete pvc data-<RELEASE_NAME>-postgresql-0

During uninstallation, a chart Job deletes the <RELEASE_NAME>-postgresql-secrets Secret containing the external database password.

The removal order for all components and the platform is in Uninstallation.

Lists in the values file​

tdp-superset.extraEnvRaw is a list. When your values file defines this list, Helm does not add your entries to the existing ones: it replaces the entire list with yours. Therefore, if you use an external database and LDAP login, the DB_PASS and AUTH_LDAP_BIND_PASSWORD entries go in the same list, in the same file.

The same applies to tdp-superset.extraVolumes and tdp-superset.extraVolumeMounts, which the chart already fills with the superset-datasources entry, used by data source import. When adding a volume, include that entry in your list too.

All parameters​

Filter by name or group. The chart prefix is already filled in. Keys without a prefix are at the values file root.

49 of 49 parameters

ParameterDescriptionChart default
tdp-superset.enabledGeneralEnables Superset deploymenttrue
tdp-superset.fullnameOverrideGeneralOverrides the full resource name\"\" (derived from the release name)
tdp-superset.image.tagGeneralSuperset image tag5.0.0-2
tdp-superset.service.typeGeneralInterface Service typeClusterIP
tdp-superset.service.portGeneralInterface Service port8088
global.compatibility.openshift.adaptSecurityContextGeneralAutomatically adapts security contexts to OpenShiftforce
tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEYSecretsSuperset secret key, which encrypts stored credentials. Replace before the first installationSUPERSET_SECRET_KEY
tdp-superset.init.adminUser.usernameSecretsAdmin user created by the init Jobadmin
tdp-superset.init.adminUser.passwordSecretsTemporary admin password. Only applies when the user is createdChangeMe!T3c
tdp-superset.supersetNode.replicas.replicaCountReplicas and resourcesWeb interface replicas1
tdp-superset.resources.requests.cpuReplicas and resourcesCPU reserved for the web interface500m
tdp-superset.resources.requests.memoryReplicas and resourcesMemory reserved for the web interface1Gi
tdp-superset.resources.limits.cpuReplicas and resourcesWeb interface CPU limit2
tdp-superset.resources.limits.memoryReplicas and resourcesWeb interface memory limit4Gi
tdp-superset.supersetWorker.replicas.replicaCountReplicas and resourcesWorker replicas (Celery)1
tdp-superset.supersetWorker.resources.requests.cpuReplicas and resourcesCPU reserved for each worker250m
tdp-superset.supersetWorker.resources.requests.memoryReplicas and resourcesMemory reserved for each worker512Mi
tdp-superset.supersetWorker.resources.limits.cpuReplicas and resourcesEach worker's CPU limit1
tdp-superset.supersetWorker.resources.limits.memoryReplicas and resourcesEach worker's memory limit2Gi
tdp-superset.supersetCeleryBeat.enabledReplicas and resourcesStarts Celery Beat, which triggers scheduled taskstrue
tdp-superset.supersetCeleryBeat.resources.requests.cpuReplicas and resourcesCPU reserved for Celery Beat100m
tdp-superset.supersetCeleryBeat.resources.requests.memoryReplicas and resourcesMemory reserved for Celery Beat256Mi
tdp-superset.supersetCeleryBeat.resources.limits.cpuReplicas and resourcesCelery Beat CPU limit500m
tdp-superset.supersetCeleryBeat.resources.limits.memoryReplicas and resourcesCelery Beat memory limit512Mi
tdp-superset.init.resourcesReplicas and resourcesInit Job requests and limitsrequests 500m / 1Gi; limits 2 / 4Gi
tdp-superset.postgresql.enabledDatabaseStarts embedded PostgreSQL for the metadata databasetrue
tdp-superset.postgresql.auth.passwordDatabaseTemporary superset user password in embedded PostgreSQL. Matches supersetNode.connections.db_passChangeMe!T3c
tdp-superset.postgresql.auth.postgresPasswordDatabaseTemporary embedded PostgreSQL administrator passwordChangeMe!T3c
tdp-superset.postgresql.postgresqlDataDirDatabasePostgreSQL data directory. The subdirectory avoids permission errors on OpenShift/bitnami/postgresql/data/pgdata
tdp-superset.supersetNode.connections.db_hostDatabaseMetadata database host. With an external database, <POSTGRESQL_SERVICE>.<SHARED_NAMESPACE>.svc.cluster.local<RELEASE_NAME>-postgresql (embedded)
tdp-superset.supersetNode.connections.db_userDatabaseMetadata database usersuperset
tdp-superset.supersetNode.connections.db_nameDatabaseMetadata database namesuperset
tdp-superset.supersetNode.connections.db_passDatabaseConnection password. Empty with an external database, when it comes from DB_PASSChangeMe!T3c
tdp-superset.postgresqlSecrets.nameDatabaseName of the Secret containing the password generated by the external database Job"" (<RELEASE_NAME>-postgresql-secrets)
tdp-superset.postgresqlSecrets.passwordKeyDatabasePassword key in that Secretsuperset-postgresql-password
TDP-Settings.externalDatabase.enabledDatabaseTurns on the Job that creates the database and user in the external PostgreSQLfalse
TDP-Settings.externalDatabase.externalSecret.releaseNameDatabaseSecret containing the PostgreSQL administrator password (key postgres-password), in the Superset namespacetdp-postgresql-auth
tdp-superset.redis.enabledDatabaseStarts embedded Redis, used by Celery and the cachetrue
tdp-superset.ingress.ingressClassNameExposureIngress class""
tdp-superset.ingress.hostsExposureIngress hostnamessuperset.tdp.local
tdp-superset.ingress.pathTypeExposureIngress path typeImplementationSpecific
TDP-Settings.gateway.ingress.enabledExposureRenders the Superset Ingressfalse
TDP-Settings.gateway.gatewayApi.enabledExposureRenders the Gateway API HTTPRoutefalse
gatewayApi.parentRefsExposureGateway to which the HTTPRoute connects[]
gatewayApi.superset.hostnamesExposureHTTPRoute hostnamessuperset.tdp.local
tdp-superset.ldap.enabledLoginEnables LDAP or AD login (see Security - Superset)false
tdp-superset.datasources.autoImport.enabledData sourcesEnables automatic data source importfalse
tdp-superset.datasources.clickhouse.enabledData sourcesIncludes ClickHouse in the importfalse
tdp-superset.datasources.trino.enabledData sourcesIncludes Trino in the importfalse

For the complete parameter list, see the chart's values.yaml or run helm show values for the installed version.

Next steps​