Skip to content

[V2] Replace minio with rustfs#7180

Open
popojk wants to merge 9 commits intov2from
switch_from_minio_to_rustfs
Open

[V2] Replace minio with rustfs#7180
popojk wants to merge 9 commits intov2from
switch_from_minio_to_rustfs

Conversation

@popojk
Copy link
Copy Markdown
Contributor

@popojk popojk commented Apr 9, 2026

Tracking issue

Closes #7179

Why are the changes needed?

Replace minio with rustfs for better performance

P.S. We will do rustfs console in seperate PR

What changes were proposed in this pull request?

Mainly delete minio and add rustfs in heml chart

How was this patch tested?

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

popojk added 5 commits March 31, 2026 18:13
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
…stfs

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@github-actions github-actions bot mentioned this pull request Apr 9, 2026
3 tasks
@popojk popojk marked this pull request as draft April 9, 2026 04:58
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@popojk popojk marked this pull request as ready for review April 9, 2026 08:47
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
- |
chown -R 10001:10001 /data
mkdir -p /data/flyte-data
chown 10001:10001 /data/flyte-data
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It looks like that rustfs do not have a config to set default bucket, so I used a init container to create it

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
k8s:
default-env-vars:
- FLYTE_AWS_ENDPOINT: "http://minio.flyte.svc.cluster.local:9000"
- FLYTE_AWS_ENDPOINT: "http://flyte-demo-rustfs.flyte.svc.cluster.local:9000"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we override the pod/service name to rustfs instead of flyte-demo-rustfs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

*/}}
{{- define "flyte-demo.persistence.minioVolumeName" -}}
{{- printf "%s-minio-storage" .Release.Name -}}
{{- define "flyte-sandbox.persistence.rustfsVolumeName" -}}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

flyte-demo

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

- |
chown -R 10001:10001 /data
mkdir -p /data/flyte-data
chown 10001:10001 /data/flyte-data
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

kind: PersistentVolumeClaim
metadata:
name: {{ include "flyte-demo.persistence.minioVolumeName" . }}
name: {{ include "flyte-sandbox.persistence.rustfsVolumeName" . }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

demo

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

Comment on lines +725 to +726
image: busybox:latest
imagePullPolicy: IfNotPresent
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we create an image tar file and put it into the flyte-sandbox-2 image at build time instead? so sandbox won't pull the image from remote at runtime.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

kind: PersistentVolume
metadata:
name: {{ include "flyte-demo.persistence.minioVolumeName" . }}
name: {{ include "flyte-sandbox.persistence.rustfsVolumeName" . }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should be demo (same as @pingsutw's comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we remove this empty file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

@pingsutw pingsutw assigned pingsutw and popojk and unassigned pingsutw Apr 10, 2026
@pingsutw pingsutw added this to the V2 GA milestone Apr 10, 2026
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@popojk popojk requested review from machichima and pingsutw April 13, 2026 02:23
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.

3 participants