post image :date_long | 1 min Read

Superset

helm install superset --set service.type=NodePort stable/superset

values.yaml

initFile: |-
  if [ "$1" == "development-mode" ]; then
    /usr/local/bin/superset-init --username admin --firstname admin --lastname user --email admin@fab.org --password admin
    superset run
  elif [ "$1" == "production-mode" ]; then

    /usr/local/bin/superset-init --username admin --firstname admin --lastname user --email admin@fab.org --password Start123
    superset db upgrade
    superset init
    gunicorn \
        -w 10 \
        -k gevent \
        --timeout 300 \
        -b  0.0.0.0:8088 \
        --limit-request-line 0 \
        --limit-request-field_size 0 \
        "superset.app:create_app()"
  else
    echo "You need to specify which mode to start in by setting production-mode"
    echo "or development-mode in extraArguments."
    exit 1
  fi

...

extraArguments:
- production-mode

author image

Jan Toth

I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …

comments powered by Disqus