yqcloud-superset

by Helm

Helm chartv1.31.3App 1.31.3

Apache Superset is a modern, enterprise-ready business intelligence web application

About this chart

superset

Apache Superset is a modern, enterprise-ready business intelligence web application

Homepage: https://superset.apache.org/

Source Code

TL;DR

helm repo add superset http://apache.github.io/superset/
helm install my-superset superset/superset

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql12.1.6
https://charts.bitnami.com/bitnamiredis17.9.4

Values

KeyTypeDefaultDescription
affinityobject{}
bootstrapScriptstringsee values.yamlInstall additional packages and do any other bootstrap configuration in this script For production clusters it's recommended to build own image with this step done in CI
configFromSecretstring"{{ template \"superset.fullname\" . }}-config"The name of the secret which we will use to generate a superset_config.py file Note: this secret must have the key superset_config.py in it and can include other files as well
configMountPathstring"/app/pythonpath"
configOverridesobject{}A dictionary of overrides to append at the end of superset_config.py - the name does not matter WARNING: the order is not guaranteed Files can be passed as helm --set-file configOverrides.my-override=my-file.py
configOverridesFilesobject{}Same as above but the values are files
envFromSecretstring"{{ template \"superset.fullname\" . }}-env"The name of the secret which we will use to populate env vars in deployed pods This can be useful for secret keys, etc.
envFromSecretslist[]This can be a list of templated strings
extraConfigMountPathstring"/app/configs"
extraConfigsobject{}Extra files to mount on /app/pythonpath
extraEnvobject{}Extra environment variables that will be passed into pods
extraEnvRawlist[]Extra environment variables in RAW format that will be passed into pods
extraSecretEnvobject{}Extra environment variables to pass as secrets
extraSecretsobject{}Extra files to mount on /app/pythonpath as secrets
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestringnilProvide a name to override the full names of resources
hostAliaseslist[]Custom hostAliases for all superset pods # https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
image.pullPolicystring"IfNotPresent"
image.repositorystring"apachesuperset.docker.scarf.sh/apache/superset"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.extraHostsRawlist[]
ingress.hosts[0]string"chart-example.local"
ingress.ingressClassNamestringnil
ingress.pathstring"/"
ingress.pathTypestring"ImplementationSpecific"
ingress.tlslist[]
init.adminUser.emailstring"[email protected]"
init.adminUser.firstnamestring"Superset"
init.adminUser.lastnamestring"Admin"
init.adminUser.passwordstring"admin"
init.adminUser.usernamestring"admin"
init.affinityobject{}
init.commandlista superset_init.sh commandCommand
init.containerSecurityContextobject{}
init.createAdminbooltrue
init.enabledbooltrue
init.initContainerslista container waiting for postgresList of initContainers
init.initscriptstringa script to create admin user and initailize rolesA Superset init script
init.jobAnnotations."helm.sh/hook"string"post-install,post-upgrade"
init.jobAnnotations."helm.sh/hook-delete-policy"string"before-hook-creation"
init.loadExamplesboolfalse
init.podAnnotationsobject{}
init.podSecurityContextobject{}
init.resourcesobject{}
init.tolerationslist[]
init.topologySpreadConstraintslist[]TopologySpreadConstrains to be added to init job
initImage.pullPolicystring"IfNotPresent"
initImage.repositorystring"apache/superset"
initImage.tagstring"dockerize"
nameOverridestringnilProvide a name to override the name of the chart
nodeSelectorobject{}
postgresqlobjectsee values.yamlConfiguration values for the postgresql dependency. ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
redisobjectsee values.yamlConfiguration values for the Redis dependency. ref: https://github.com/bitnami/charts/blob/master/bitnami/redis More documentation can be found here: https://artifacthub.io/packages/helm/bitnami/redis
resourcesobject{}
runAsUserint0User ID directive. This user must have enough permissions to run the bootstrap script Running containers as root is not recommended in production. Change this to another UID - e.g. 1000 to be more secure
service.annotationsobject{}
service.loadBalancerIPstringnil
service.nodePort.httpint"nil"
service.portint8088
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createboolfalseCreate custom service account for Superset. If create: true and serviceAccountName is not provided, superset.fullname will be used.
serviceAccountNamestringnilSpecify service account name to be used
supersetCeleryBeat.affinityobject{}Affinity to be added to supersetCeleryBeat deployment
supersetCeleryBeat.commandlista celery beat commandCommand
supersetCeleryBeat.containerSecurityContextobject{}
supersetCeleryBeat.deploymentAnnotationsobject{}Annotations to be added to supersetCeleryBeat deployment
supersetCeleryBeat.enabledboolfalseThis is only required if you intend to use alerts and reports
supersetCeleryBeat.forceReloadboolfalseIf true, forces deployment to reload on each upgrade
supersetCeleryBeat.initContainerslista container waiting for postgresList of init containers
supersetCeleryBeat.podAnnotationsobject{}Annotations to be added to supersetCeleryBeat pods
supersetCeleryBeat.podLabelsobject{}Labels to be added to supersetCeleryBeat pods
supersetCeleryBeat.podSecurityContextobject{}
supersetCeleryBeat.resourcesobject{}Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above.
supersetCeleryBeat.topologySpreadConstraintslist[]TopologySpreadConstrains to be added to supersetCeleryBeat deployments
supersetCeleryFlower.affinityobject{}Affinity to be added to supersetCeleryFlower deployment
supersetCeleryFlower.commandlista celery flower commandCommand
supersetCeleryFlower.containerSecurityContextobject{}
supersetCeleryFlower.deploymentAnnotationsobject{}Annotations to be added to supersetCeleryFlower deployment
supersetCeleryFlower.enabledboolfalseEnables a Celery flower deployment (management UI to monitor celery jobs) WARNING: on superset 1.x, this requires a Superset image that has flower<1.0.0 installed (which is NOT the case of the default images) flower>=1.0.0 requires Celery 5+ which Superset 1.5 does not support
supersetCeleryFlower.initContainerslista container waiting for postgres and redisList of init containers
supersetCeleryFlower.livenessProbe.failureThresholdint3
supersetCeleryFlower.livenessProbe.httpGet.pathstring"/api/workers"
supersetCeleryFlower.livenessProbe.httpGet.portstring"flower"
supersetCeleryFlower.livenessProbe.initialDelaySecondsint5
supersetCeleryFlower.livenessProbe.periodSecondsint5
supersetCeleryFlower.livenessProbe.successThresholdint1
supersetCeleryFlower.livenessProbe.timeoutSecondsint1
supersetCeleryFlower.podAnnotationsobject{}Annotations to be added to supersetCeleryFlower pods
supersetCeleryFlower.podLabelsobject{}Labels to be added to supersetCeleryFlower pods
supersetCeleryFlower.podSecurityContextobject{}
supersetCeleryFlower.readinessProbe.failureThresholdint3
supersetCeleryFlower.readinessProbe.httpGet.pathstring"/api/workers"
supersetCeleryFlower.readinessProbe.httpGet.portstring"flower"
supersetCeleryFlower.readinessProbe.initialDelaySecondsint5
supersetCeleryFlower.readinessProbe.periodSecondsint5
supersetCeleryFlower.readinessProbe.successThresholdint1
supersetCeleryFlower.readinessProbe.timeoutSecondsint1
supersetCeleryFlower.replicaCountint1
supersetCeleryFlower.resourcesobject{}Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above.
supersetCeleryFlower.service.annotationsobject{}
supersetCeleryFlower.service.loadBalancerIPstringnil
supersetCeleryFlower.service.nodePort.httpint"nil"
supersetCeleryFlower.service.portint5555
supersetCeleryFlower.service.typestring"ClusterIP"
supersetCeleryFlower.startupProbe.failureThresholdint60
supersetCeleryFlower.startupProbe.httpGet.pathstring"/api/workers"
supersetCeleryFlower.startupProbe.httpGet.portstring"flower"
supersetCeleryFlower.startupProbe.initialDelaySecondsint5
supersetCeleryFlower.startupProbe.periodSecondsint5
supersetCeleryFlower.startupProbe.successThresholdint1
supersetCeleryFlower.startupProbe.timeoutSecondsint1
supersetCeleryFlower.topologySpreadConstraintslist[]TopologySpreadConstrains to be added to supersetCeleryFlower deployments
supersetNode.affinityobject{}Affinity to be added to supersetNode deployment
supersetNode.commandlistSee values.yamlStartup command
supersetNode.connections.db_hoststring"{{ .Release.Name }}-postgresql"
supersetNode.connections.db_namestring"superset"
supersetNode.connections.db_passstring"superset"
supersetNode.connections.db_portstring"5432"
supersetNode.connections.db_userstring"superset"
supersetNode.connections.redis_hoststring"{{ .Release.Name }}-redis-headless"Change in case of bringing your own redis and then also set redis.enabled:false
supersetNode.connections.redis_portstring"6379"
supersetNode.containerSecurityContextobject{}
supersetNode.deploymentAnnotationsobject{}Annotations to be added to supersetNode deployment
supersetNode.deploymentLabelsobject{}Labels to be added to supersetNode deployment
supersetNode.envobject{}
supersetNode.extraContainerslist[]Launch additional containers into supersetNode pod
supersetNode.forceReloadboolfalseIf true, forces deployment to reload on each upgrade
supersetNode.initContainerslista container waiting for postgresInit containers
supersetNode.livenessProbe.failureThresholdint3
supersetNode.livenessProbe.httpGet.pathstring"/health"
supersetNode.livenessProbe.httpGet.portstring"http"
supersetNode.livenessProbe.initialDelaySecondsint15
supersetNode.livenessProbe.periodSecondsint15
supersetNode.livenessProbe.successThresholdint1
supersetNode.livenessProbe.timeoutSecondsint1
supersetNode.podAnnotationsobject{}Annotations to be added to supersetNode pods
supersetNode.podLabelsobject{}Labels to be added to supersetNode pods
supersetNode.podSecurityContextobject{}
supersetNode.readinessProbe.failureThresholdint3
supersetNode.readinessProbe.httpGet.pathstring"/health"
supersetNode.readinessProbe.httpGet.portstring"http"
supersetNode.readinessProbe.initialDelaySecondsint15
supersetNode.readinessProbe.periodSecondsint15
supersetNode.readinessProbe.successThresholdint1
supersetNode.readinessProbe.timeoutSecondsint1
supersetNode

Deploy yqcloud-superset with OpenTenant

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