Superset

Beta

Overview

This module deploys Apache Superset, a modern data exploration and visualization platform, on Kubernetes. It sets up the Superset web application, its dependencies, and the necessary database using a Helm chart. The module also configures authentication and exposes the Superset UI for easy access to data analytics and dashboard creation.

Compute Nodes

For optimal performance, the following resources are recommended:

  • 1 or more CPU cores

  • At least 2GB of memory

Local Deployment

Superset will start on port 30086 by default.

Production Considerations

Superset is licensed under the Apache License 2.0.

Warning

Superset will deploy a self-hosted version of Postgres. This will not back iteslf up, and is not HA. For many use cases, this is not a problem, as Superset is not a system of record itself, and can easily be recreated in disaster recovery. External postgres can be configured by helm chart overrides., but future work will simplify passing in an existing postgres instance.

Examples

module "superset" {
    source = "kadreio/relativistic/kubernetes//modules/superset"
    #The key used for superset cookies
    superset_secret_key = random_string.cookie_key.result

    #The default user for superset, set this to the first admin's email
    superset_default_user = "[email protected]"

    #The default password for that admin user, change this after initial login
    superset_default_password = "password"

    #The port that the superset service will be exposed on for local access
    superset_local_exposed_port = 30086
}

resource "random_string" "cookie_key" {
    length  = 32
    special = false
}

Inputs

Name

Description

Type

Default

Required

override_helm_values

List of Helm values files to override default configurations

list(string)

[]

no

superset_chart_version

Superset chart version

string

"0.12.9"

no

superset_default_password

Default User Password for Superset

string

"admin"

no

superset_default_user

Default user for Superset

string

"[email protected]"

no

superset_local_exposed_port

Local exposed port for Superset

number

30086

no

superset_secret_key

Default Secret Jey for Superset

string

n/a

yes

Outputs

No outputs.

Providers

Name

Version

helm

n/a

Requirements

No requirements.

Resources

Name

Type

helm_release.superset

resource

Modules

No modules.