diff --git a/docs/docs/installation/kubernetes.mdx b/docs/docs/installation/kubernetes.mdx index 6cb209658..aab3c7b85 100644 --- a/docs/docs/installation/kubernetes.mdx +++ b/docs/docs/installation/kubernetes.mdx @@ -150,6 +150,9 @@ Superset requires a Python DB-API database driver and a SQLAlchemy dialect to be installed for each datastore you want to connect to. See [Install Database Drivers](/docs/configuration/databases) for more information. +It is recommended that you refer to versions listed in +[pyproject.toml](https://github.com/apache/superset/blob/master/pyproject.toml) +instead of hard-coding them in your bootstrap script, as seen below. ::: @@ -157,9 +160,9 @@ The following example installs the drivers for BigQuery and Elasticsearch, allow ```yaml bootstrapScript: | #!/bin/bash - pip install psycopg2==2.9.6 \ - sqlalchemy-bigquery==1.6.1 \ - elasticsearch-dbapi==0.2.5 &&\ + pip install .[postgres] \ + .[bigquery] \ + .[elasticsearch] &&\ if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi ```