[V2] use Helm to init rustfs in sandbox
Motivation: Why do you think this is important?
According to rustfs doc, we can run it with helm chart instead of scripting the yaml on our own. We run an init container to create default bucket now because rustfs do not support default bucket config now. After migrating to helmchart, we can run a k8s post-install Job to create default bucket.
Goal: What should the final outcome look like, ideally?
- Run make sandbox-build.
- Run an example workflow and make sure the result is success.
Describe alternatives you've considered
n/a
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
- [x] Yes
Have you read the Code of Conduct?
- [x] Yes
It seems likely that using the RustFS Helm chart (as described in the rustfs helm docs) would allow you to deploy RustFS in the Flyte sandbox via Helm, rather than scripting the YAML directly. Currently, Flyte uses an init container to create the default bucket because RustFS does not support default bucket configuration natively (see Flyte deployment YAML). Migrating to the Helm chart would let you use a Kubernetes post-install Job to create the default bucket after deployment.
My understanding is that the desired outcome is to update the sandbox build process so that after running make sandbox-build, an example workflow can be executed successfully, with RustFS initialized via Helm and the default bucket created by a post-install Job. There is no explicit mention in the data sources of a ready-made post-install Job for bucket creation in the RustFS Helm chart, so this part may require custom implementation.
Would you like more detail on how to implement the post-install Job or integrate this into the Flyte sandbox workflow?
Sources:
- https://github.com/flyteorg/flyte/blob/master/CHANGELOG/CHANGELOG-v0.17.2.md
- https://github.com/flyteorg/flyte/blob/master/CHANGELOG/CHANGELOG-v0.18.2.md Note: I wasn’t able to find highly relevant data sources, but above are a few potentially relevant links.
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @runllm to ask follow-up questions. See runllm.com for more!
#take