Skip to content

use Helm to init rustfs in sandbox based on main branch#7310

Open
BarryWu0812 wants to merge 13 commits intoflyteorg:mainfrom
BarryWu0812:pr-7233-main
Open

use Helm to init rustfs in sandbox based on main branch#7310
BarryWu0812 wants to merge 13 commits intoflyteorg:mainfrom
BarryWu0812:pr-7233-main

Conversation

@BarryWu0812
Copy link
Copy Markdown
Contributor

Tracking issue

Closes #7209

Why are the changes needed?

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.

What changes were proposed in this pull request?

Use Helm to init rustfs in sandbox and run k8s post-install Job to create default bucket.

How was this patch tested?

Run make sandbox-build.
Run an example workflow and make sure the result is success.

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@BarryWu0812
Copy link
Copy Markdown
Contributor Author

Hi @popojk @pingsutw , please help me to review. Thanks!

Comment thread docker/devbox-bundled/manifests/dev.yaml Outdated
@BarryWu0812 BarryWu0812 requested a review from pingsutw April 30, 2026 18:39
pingsutw
pingsutw previously approved these changes Apr 30, 2026
Signed-off-by: Kevin Su <[email protected]>
Comment on lines -88 to -90
{{- define "flyte-devbox.persistence.rustfsVolumeName" -}}
{{- printf "%s-rustfs-storage" .Release.Name -}}
{{- end }}
Copy link
Copy Markdown
Member

@pingsutw pingsutw May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need PersistentVolume for rustfs. we need to make sure rustfs bucket has all the inputs/ouptuts files after restarting the devbox

@pingsutw pingsutw added this to the V2 GA milestone May 1, 2026
@BarryWu0812 BarryWu0812 requested a review from pingsutw May 2, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[V2] use Helm to init rustfs in sandbox

2 participants