superset helm 0.15.0 chart broken #42584
Replies: 5 comments
|
Hi @thatguyatgithub! I'm Dosu and I’m helping the superset team. This is a known issue: the default Superset Docker image used by the Helm chart does not include database drivers like psycopg2, which are required to connect to external PostgreSQL databases. You have a few options to resolve this:
Make sure you also disable the internal PostgreSQL by setting This approach should resolve the To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
|
@villebro we keep seeing issues like this arise. Any idea how to resolve this more permanently? Tempted to bump these to Discussions when they arise, but clearly it's a recurring issue. |
|
I'm also running into this issue. And to @rusackas point, I've run into it before two years ago already: #23577 (note how I had to install I get this error not when connecting to an external database. It seems reasonable to require installing additional drivers in some way explicitly for various reasons (e.g. license, image bloat, maintenance, etc.). The error appears with when the Pods try to connect to the internal Postgres DB...
We're looking to evaluate Superset against other (some not open source) competitors in the space, but this doesn't exactly inspire confidence in the project unfortunately. # helmfile.yaml
repositories:
- name: superset
url: https://apache.github.io/superset
releases:
- name: superset
namespace: superset
chart: superset/superset
version: "0.15.0"
values:
# Bitnami has moved their container images behind a paywall. The Superset Helm charts have not been updated yet.
# See https://github.com/apache/superset/issues/34414#issuecomment-3307806333
- postgresql:
image:
repository: bitnamilegacy/postgresql
redis:
image:
repository: bitnamilegacy/redis
- configOverrides:
secret: |
SECRET_KEY = 'CHANGE_ME_TO_A_SECRET'If Postgres is the default database of choice, it doesn't make sense IMO to exclude the Note how https://superset.apache.org/docs/installation/kubernetes/#dependencies mentions that additional drivers may need to be installed, but only on the topic of connecting to external databases, not for Superset to actually be coming up healthy.
Interestingly, the Postgres section here (https://superset.apache.org/docs/configuration/databases/#postgres) mentions that the driver comes pre-installed when using docker-compose. Then why not with Kubernetes?
|
|
Did you find any solution to this, @NiklasRosenstein ? Getting this error now after upgrading to 0.15.2 and setting the redis and postgres images to the legacy bitnami repository. |
|
Since this keeps recurring (same root cause as #23577 from a couple years back) and it's really a deployment/docs gap rather than a Superset code bug, I'm going to move this to a Discussion. Think the actual fix here is a clear doc note in the helm chart README about installing the right DB driver via |




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Bug description
When using bring your own DB, the superset-init-db k8s main job breaks under this error:
All reactions