dosubot[bot] commented on issue #38661: URL: https://github.com/apache/superset/issues/38661#issuecomment-4065342360
<!-- Answer --> There's **no direct dependency between Kubernetes versions and Superset versions**. Superset 4.1 should work fine with the latest Kubernetes versions. Based on the [Helm chart templates](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/templates/ingress.yaml), the practical minimum is **Kubernetes 1.21+** due to the API versions used (`networking.k8s.io/v1`, `policy/v1`, `autoscaling/v2`). Any modern K8s version should be compatible. However, there are some important **deployment considerations for Superset 4.1.x** on Kubernetes: 1. **Missing database drivers**: Starting in 4.1.0, [database drivers were removed from the base Docker image](https://github.com/apache/superset/discussions/31432). You'll need to install required drivers (MySQL, PostgreSQL, etc.) via a custom Dockerfile or bootstrap scripts. 2. **Missing optional dependencies**: If you're using `ENABLE_CORS`, you'll need to manually install `flask_cors` as [it's not included in the lean image](https://github.com/apache/superset/issues/32655). 3. **Package manager**: The lean image doesn't include the `uv` package manager—[use `pip install` instead](https://github.com/apache/superset/issues/32733). Note: The [Kubernetes Helm chart is community-maintained](https://github.com/apache/superset/wiki/Release-Process) and not officially supported by the Apache Superset project. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=great_response&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=irrelevant_answer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=incorrect_sources&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=too_verbose&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/14b67959-553c -4fcc-aa8c-dcbba3accc94?feedback_type=hallucination&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=bug_report&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report) | [Other](https://app.dosu.dev/response-feedback/14b67959-553c-4fcc-aa8c-dcbba3accc94?feedback_type=other&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge) [](https://cursor.com/link/prompt?text=There%27s%20%2A%2Ano%20direct%20dependency%20between%20Kubernetes%20versions%20and%20Superset%20versions%2A%2A.%20Superset%204.1%20should%20work%20fine%20with%20the%20latest%20Kubernetes%20versions.%0A%0ABased%20on%20the%20%5BHelm%20chart%20templates%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/templates/ingress.yaml%29%2C%20the%20practical%20minimum%20is%20%2A%2AKubernetes%201.21%2B%2A%2A%20due%20to%20the%20API%20versions%20used%20%28%60networking.k8s.io/v1%60%2C%20%60policy/v1%60%2C%20%60autoscaling/v2%60%29.%20Any%20modern%20K8s%20version%20should%20be%20compatible.%0A%0AHowever%2C%20there%20are%20some%20important% 20%2A%2Adeployment%20considerations%20for%20Superset%204.1.x%2A%2A%20on%20Kubernetes%3A%0A%0A1.%20%2A%2AMissing%20database%20drivers%2A%2A%3A%20Starting%20in%204.1.0%2C%20%5Bdatabase%20drivers%20were%20removed%20from%20the%20base%20Docker%20image%5D%28https%3A//github.com/apache/superset/discussions/31432%29.%20You%27ll%20need%20to%20install%20required%20drivers%20%28MySQL%2C%20PostgreSQL%2C%20etc.%29%20via%20a%20custom%20Dockerfile%20or%20bootstrap%20scripts.%0A%0A2.%20%2A%2AMissing%20optional%20dependencies%2A%2A%3A%20If%20you%27re%20using%20%60ENABLE_CORS%60%2C%20you%27ll%20need%20to%20manually%20install%20%60flask_cors%60%20as%20%5Bit%27s%20not%20included%20in%20the%20lean%20image%5D%28https%3A//github.com/apache/superset/issues/32655%29.%0A%0A3.%20%2A%2APackage%20manager%2A%2A%3A%20The%20lean%20image%20doesn%27t%20include%20the%20%60uv%60%20package%20manager%E2%80%94%5Buse%20%60pip%20install%60%20instead%5D%28https%3A//github.com/apache/superset/issues/32733%29.%0A%0ANote%3A%20 The%20%5BKubernetes%20Helm%20chart%20is%20community-maintained%5D%28https%3A//github.com/apache/superset/wiki/Release-Process%29%20and%20not%20officially%20supported%20by%20the%20Apache%20Superset%20project.) [](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/38661) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
