Comments (2)
Hello @tanmaykansara! I'm here to assist you with any bugs, questions, or contributions related to the Superset repository. Let's tackle this issue together!
To resolve the Helm upgrade failure and the pip dependency conflict when installing Superset, you can follow these steps:
-
Helm Upgrade Failure:
- Ensure that the
initContainers
are correctly configured to wait for the necessary services (PostgreSQL and Redis) to be ready before proceeding with the Superset initialization. You can refer to theinitContainers
configuration in thevalues.yaml
file. - Verify that the
forceReload
option is set totrue
if you want to force the deployment to reload on each upgrade.
- Ensure that the
-
Pip Dependency Conflict:
- Modify the
bootstrapScript
to handle pip dependencies explicitly. You can add a step to install the required pip packages with specific versions to avoid conflicts.
- Modify the
Here is an example of how you can modify the values.yaml
to address these issues:
supersetNode:
forceReload: true
initContainers:
- name: wait-for-postgres
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
envFrom:
- secretRef:
name: "{{ tpl .Values.envFromSecret . }}"
command:
- /bin/sh
- -c
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -timeout 120s
bootstrapScript: |
#!/bin/bash
if [ ! -f ~/bootstrap ]; then
echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap
# Install specific pip packages to avoid conflicts
pip install --upgrade pip
pip install cryptography==42.0.4
fi
By ensuring the initContainers
wait for the necessary services and explicitly handling pip dependencies in the bootstrapScript
, you can mitigate the Helm upgrade failure and pip dependency conflict issues [1][2].
To continue talking to Dosu, mention @dosu.
from superset.
Ty for this.
from superset.
Related Issues (20)
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- Default native filters values don't set correctly HOT 1
- Superset 4.0.1 - Exported CSV Contains Garbled Chinese Characters and Numbers HOT 4
- Metric datatype incorrect when swap dataset HOT 1
- It is proposed to add the feature of grouping like folders HOT 3
- TimeSeries Chart is showing Year for the January month HOT 5
- Storybook controls are out of date HOT 1
- D3_FORMATS PROBLEM HOT 2
- Request execution time jumps HOT 1
- Unexpected error HOT 2
- Failed to setup alerts and reports based pypi installation HOT 6
- 4.0.1: Alerting and reports does not take EMAIL RECIPIENTS* HOT 4
- Filter does not follow label HOT 1
- [SIP-138] Proposal for Slack file upload V2 integration for Alerts and Reports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.