flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[V2] use Helm to init rustfs in sandbox

Open popojk opened this issue 7 months ago • 2 comments

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?

  1. Run make sandbox-build.
  2. 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

popojk avatar Apr 15 '26 08:04 popojk

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:


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!

runllm avatar Apr 15 '26 08:04 runllm

#take

BarryWu0812 avatar Apr 15 '26 14:04 BarryWu0812