Skip to content

Commit

Permalink
fix: update kubernetes.mdx (#14512)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
shicholas committed Nov 26, 2021
1 parent 2e29f36 commit a304116
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions docs/src/pages/docs/installation/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.:
Expand Down

0 comments on commit a304116

Please sign in to comment.