bitnamicharts/superset

Verified Publisher

By VMware

Updated 6 months ago

Bitnami Helm chart for Apache Superset

Helm
Image
Internet of things
Data science
Monitoring & observability
0

100K+

bitnamicharts/superset repository overview

Bitnami Secure Images Helm chart for Apache Superset

Superset is a modern data exploration and data visualization platform.

Overview of Apache Superset

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

TL;DR

helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/superset

Note: You need to substitute the placeholders REGISTRY_NAME and REPOSITORY_NAME with a reference to your Helm chart registry and repository.

Introduction

Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.

This chart bootstraps a Superset Deployment in a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.8.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/superset

Note: You need to substitute the placeholders REGISTRY_NAME and REPOSITORY_NAME with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to use REGISTRY_NAME=registry-1.docker.io and REPOSITORY_NAME=bitnamicharts.

The command deploys Superset on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Configuration and installation details

Rolling VS Immutable tags

It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.

Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.

External database support

You may want to have Superset connect to an external database rather than installing one inside your cluster. Typical reasons for this are to use a managed database service, or to share a common database server for all your applications. To achieve this, the chart allows you to specify credentials for an external database with the externalDatabase parameter. You should also disable the MariaDB installation with the postgresql.enabled option. Here is an example:

postgresql.enabled=false
externalDatabase.host=myexternalhost
externalDatabase.user=myuser
externalDatabase.password=mypassword
externalDatabase.database=mydatabase
externalDatabase.port=5432

Similarly, you can specify an external Redis® instance rather than installing one inside your cluster. First, you may disable the Redis® installation with the redis.enabled option. As aforementioned, used the provided parameters to provide data about your instance:

redis.enabled=false
externalRedis.host=myexternalhost
externalRedis.password=mypassword
externalRedis.port=5432
Gateway API

This chart provides support for exposing Apache Superset using the Gateway API and its HTTPRoute resource. If you have a Gateway controller installed on your cluster, such as APISIX, Contour, Envoy Gateway, NGINX Gateway Fabric or Kong Ingress Controller you can utilize the Gateway controller to serve your application. To enable Gateway API integration, set httpRoute.enabled to true. The Gateway to be used can be customized by setting the httpRoute.parentRefs parameter. By default, it will reference a Gateway named gateway in the same namespace as the release.

You can specify the list of hostnames to be mapped to the deployment using the httpRoute.hostnames parameter. Additionally, you can customize the rules used to route the traffic to the service by modifying the httpRoute.matches and httpRoute.filters parameters or adding new rules using the httpRoute.extraRules parameter.

Ingress

This chart provides support for Ingress resources. If you have an ingress controller installed on your cluster, such as nginx-ingress-controller or contour you can utilize the ingress controller to serve your application. To enable Ingress integration, set ingress.enabled to true.

The most common scenario is to have one host name mapped to the deployment. In this case, the ingress.hostname property can be used to set the host name. The ingress.tls parameter can be used to add the TLS configuration for this host.

However, it is also possible to have more than one host. To facilitate this, the ingress.extraHosts parameter (if available) can be set with the host names specified as an array. The ingress.extraTLS parameter (if available) can also be used to add the TLS configuration for extra hosts.

NOTE: For each host specified in the ingress.extraHosts parameter, it is necessary to set a name, path, and any annotations that the Ingress controller should know about. Not all annotations are supported by all Ingress controllers, but this annotation reference document lists the annotations supported by many popular Ingress controllers.

Adding the TLS parameter (where available) will cause the chart to generate HTTPS URLs, and the application will be available on port 443. The actual TLS secrets do not have to be generated by this chart. However, if TLS is enabled, the Ingress record will not work until the TLS secret exists.

Learn more about Ingress controllers.

Additional environment variables

In case you want to add extra environment variables (useful for advanced operations like custom init scripts), you can use the extraEnvVars property.

web:
  extraEnvVars:
    - name: LOG_LEVEL
      value: error

Alternatively, you can use a ConfigMap or a Secret with the environment variables. To do so, use the extraEnvVarsCM or the extraEnvVarsSecret values.

Sidecars

If additional containers are needed in the same pod as Superset (such as additional metrics or logging exporters), they can be defined using the *.sidecars parameter, where * would be the section corresponding to each of the pods deployed by the chart, e.g. web, worker, beat, flower, init.

web:
  sidecars:
    - name: your-image-name
      image: your-image
      imagePullPolicy: Always
      ports:
        - name: portname
      containerPort: 1234

If these sidecars export extra ports, extra port definitions can be added using the service.*.extraPorts parameter (where available), as shown in the example below:

web:
  service:
    extraPorts:
      - name: extraPort
        port: 11311
        targetPort: 11311

If additional init containers are needed in the same pod, they can be defined using the *.initContainers parameter. Here is an example adding an extra init container to the Superset web pods:

web:
  initContainers:
    - name: your-image-name
      image: your-image
      imagePullPolicy: Always
      ports:
        - name: portname
          containerPort: 1234

Learn more about sidecar containers and init containers.

Pod affinity

This chart allows you to set your custom affinity using the affinity parameter. Find more information about Pod affinity in the kubernetes documentation.

As an alternative, use one of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the podAffinityPreset, podAntiAffinityPreset, or nodeAffinityPreset parameters.

FIPS parameters

The FIPS parameters only have effect if you are using images from the Bitnami Secure Images catalog.

For more information on this new support, please refer to the FIPS Compliance section.

Parameters

Global parameters
NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.defaultFipsDefault value for the FIPS configuration (allowed values: '', restricted, relaxed, off). Can be overriden by the 'fips' objectrestricted
global.compatibility.openshift.adaptSecurityContextAdapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)auto
Common parameters
NameDescriptionValue
kubeVersionOverride Kubernetes version""
apiVersionsOverride Kubernetes API versions reported by .Capabilities[]
nameOverrideString to partially override common.names.name""
fullnameOverrideString to fully override common.names.fullname""
namespaceOverrideString to fully override common.names.namespace""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]
usePasswordFilesMount credentials as files instead of using an environment variabletrue
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the chart release["sleep"]
diagnosticMode.argsArgs to override all containers in the chart release["infinity"]
Superset Parameters
NameDescriptionValue
image.registrySuperset image registryREGISTRY_NAME
image.repositorySuperset image repositoryREPOSITORY_NAME/superset
image.digestSuperset image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)""
image.pullPolicySuperset image pull policyIfNotPresent
image.pullSecretsSuperset image pull secrets[]
image.debugEnable Superset image debug modefalse
configThe name of an existing ConfigMap with your custom configuration for Superset""
existingConfigmapThe name of an existing ConfigMap with your custom configuration for Superset""
loadExamplesIf set to true, the Superset examples database will be loaded at startupfalse
auth.usernameUsername to access web UI""
auth.emailUsername email""
auth.passwordPassword to access web UI""
auth.secretKeySecret key to run your flask app""
auth.existingSecretName of an existing secret to use for Superset credentials""
web.replicaCountNumber of Superset webserver replicas to deploy1
web.containerPorts.httpSuperset webserver HTTP container port8080
web.extraContainerPortsOptionally specify extra list of additional ports for WordPress container(s)[]
web.livenessProbe.enabledEnable livenessProbe on Superset webserver containersfalse
web.livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe15
web.livenessProbe.periodSecondsPeriod seconds for livenessProbe15
web.livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
web.livenessProbe.failureThresholdFailure threshold for livenessProbe3
web.livenessProbe.successThresholdSuccess threshold for livenessProbe1
web.readinessProbe.enabledEnable readinessProbe on Superset webserver containerstrue
web.readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe15
web.readinessProbe.periodSecondsPeriod seconds for readinessProbe15
web.readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
web.readinessProbe.failureThresholdFailure threshold for readinessProbe3
`web.re

Note: the README for this chart is longer than the DockerHub length limit of 25000, so it has been trimmed. The full README can be found at https://techdocs.broadcom.com/us/en/vmware-tanzu/bitnami-secure-images/bitnami-secure-images/services/bsi-app-doc/apps-charts-superset-index.html

Tag summary

Content type

Image

Digest

sha256:71772a368

Size

7.8 kB

Last updated

6 months ago

Requires Docker Desktop 4.37.1 or later.

This week's pulls

Pulls:

1,980

Feb 2 to Feb 8

Bitnami