Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURES] 使用自定义的第三方存储时,能否让 Dataset 支持空的 mounts 字段? Can Dataset support empty mounts when using ThinRuntimeProfile? #4317

Closed
y805939188 opened this issue Sep 13, 2024 · 0 comments · May be fixed by #4322
Labels
features features

Comments

@y805939188
Copy link

What feature you'd like to add:
请问是否可以让当使用 ThinRuntimeProfile 这种第三方挂载方式的时候,Dataset 的 spec.mounts 支持传个空数组?
Dataset CRD can support passing an empty list for spec.mounts in the ThinRuntimeProfile scenario. Like this:

apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
  name: aaa
  namespace: bbb
spec:
  mounts: []

Why is this feature needed:
在我的场景下,我希望使用 ThinRuntimeProfile 接入带有一些自定义功能的第三方存储系统。其中有个功能是动态挂载数据集,但是动态挂载时候用户有可能将所有的数据集全部卸载掉,此时将没有任何的 mountPoint,但是目前 Dataset 不支持空 mounts,因此希望 Dataset 允许传入空数组,以便在第三方的 ThinRuntimeProfile 的镜像中自己根据挂载点是不是空做不同的处理:
image

In my scenario, I hope to use ThinRuntimeProfile to achieve features like dynamically mounting datasets. However, sometimes the user may unmount all of the datasets, resulting in no mountPoint. Therefore, I hope Dataset can support passing an empty list for Dataset.spec.mounts, so that it can handle the empty mounts situation specially in ThinRuntimeProfile image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features features
Projects
None yet
1 participant