[FEATURES] 使用自定义的第三方存储时,能否让 Dataset 支持空的 mounts 字段? Can Dataset support empty mounts
when using ThinRuntimeProfile?
#4317
Labels
features
features
What feature you'd like to add:
请问是否可以让当使用
ThinRuntimeProfile
这种第三方挂载方式的时候,Dataset 的spec.mounts
支持传个空数组?Dataset CRD can support passing an empty list for
spec.mounts
in theThinRuntimeProfile
scenario. Like this:Why is this feature needed:
在我的场景下,我希望使用
ThinRuntimeProfile
接入带有一些自定义功能的第三方存储系统。其中有个功能是动态挂载数据集,但是动态挂载时候用户有可能将所有的数据集全部卸载掉,此时将没有任何的mountPoint
,但是目前 Dataset 不支持空mounts
,因此希望Dataset
允许传入空数组,以便在第三方的 ThinRuntimeProfile 的镜像中自己根据挂载点是不是空做不同的处理: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 hopeDataset
can support passing an empty list forDataset.spec.mounts
, so that it can handle the empty mounts situation specially in ThinRuntimeProfile image.The text was updated successfully, but these errors were encountered: