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 |
---|---|---|---|---|
List of Helm values files to override default configurations |
|
|
no |
|
Superset chart version |
|
|
no |
|
Default User Password for Superset |
|
|
no |
|
Default user for Superset |
|
no |
||
Local exposed port for Superset |
|
|
no |
|
Default Secret Jey for Superset |
|
n/a |
yes |
Outputs
No outputs.
Providers
Name |
Version |
---|---|
n/a |
Requirements
No requirements.
Resources
Name |
Type |
---|---|
resource |
Modules
No modules.