fix: update kubernetes.mdx (#14512)

* Update kubernetes.mdx

* added changes per @mvoitko's suggestions

* update k8 mdx

* Update docs/src/pages/docs/installation/kubernetes.mdx

* Update docs/src/pages/docs/installation/kubernetes.mdx
This commit is contained in:
nick
2021-11-26 00:59:26 -08:00
committed by GitHub
parent 2e29f36e78
commit a3041166a3

View File

@@ -94,25 +94,20 @@ postgresql:
#### Dependencies
You can specify pip packages to be installed before startup, e.g. to install extra database drivers:
Install 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. The following example installs the Big Query and Elasticsearch
database drivers so that you can connect to those datasources in your Superset installation.
```yaml
additionalRequirements:
- psycopg2
- redis
- elasticsearch-dbapi
- pymssql
- gsheetsdb
# Force verstion to work around https://github.com/betodealmeida/gsheets-db-api/issues/15
- moz-sql-parser==4.9.21002
# For OAuth
- Authlib
# For webdriver / reports
- gevent
bootstrapScript: |
#!/bin/bash
pip install psycopg2==2.8.5 \
redis==3.2.1 \
pybigquery==2.26.0 \
elasticsearch-dbapi==0.2.5 &&\
if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi
```
__WARNING__: The list will replace the default one from the default `values.yaml` entirely, not _add_ to it...
#### superset_config.py
The default `superset_config.py` is fairly minimal and you will very likely need to extend it. This is done by specifying one or more key/value entries in `configOverrides`, e.g.: