Make docker release images multi-platform (arm + amd) #27043
Replies: 6 comments 5 replies
-
@mistercrunch One suggestion for helm installation. I think we should update the docs to mention that we might have to override https://github.com/apache/superset/blob/master/helm/superset/values.yaml#L189 for helm installation on a ARM platform. This is needed because users try to install the superset helm chart will face issue since the Let me know if I can help in updating the docs for the same or if you have any other thoughts |
Beta Was this translation helpful? Give feedback.
-
Here, this should help #27055 |
Beta Was this translation helpful? Give feedback.
-
Hello, Just a question regarding multi-arch images, we are using superset version
The problem we are facing is, httpstan part of pystan doesn't have an arm64 binary (atleast according to what i see on pypi, i can be wrong) and our docker build is failing because of this for arm64 images, is this resolvable with any alternatives, or is it not possible to build for arm64 architecture with "ENABLE FORECAST" enabled? |
Beta Was this translation helpful? Give feedback.
-
Seems like more of a pystan problem than a Superset one. Are you using arm64 as a production deploy? For development (if you're actively working on this feature) and as a workaround you could fire up an EC2 amd box of some kind. |
Beta Was this translation helpful? Give feedback.
-
Yes, we're using arm64 nodes as production deploy. Is there an alternative to pystan then in this case, or any ways we could get around this issue? |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as the main goal has been largely achieved. We can re-open specific issues/discussions that are more targeted from this point on. |
Beta Was this translation helpful? Give feedback.
-
As it came up in #26783, it'd be nice to have our official release docker images be multi-platform (support both amd and arm). To be clear, we currently support both platforms, but not under the same tag, meaning currently we have say
lean
andlean-arm
, but in thoery,lean
could contain botharm
andamd
for convenience. From my understanding that would also make downstream constructs like docker-compose and helm more universal/simplerCopy pasting the most-relevant comment from there here:
Two approaches:
I'd go with option 2, and on-release only, but it'd require doing a bit of work around the build script. Overall the process would be:
Beta Was this translation helpful? Give feedback.
All reactions