mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
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:
@@ -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.:
|
||||
|
||||
Reference in New Issue
Block a user