datashim-io / datashim

A kubernetes based framework for hassle free handling of datasets
http://datashim-io.github.io/datashim
Apache License 2.0
481 stars 68 forks source link

change PVC Access Mode #332

Open Eva-Music opened 8 months ago

Eva-Music commented 8 months ago

Is it possible to specify Access Mode in COS Dataset? Especially I'm interested in the possibility of setting RWO access mode.

srikumar003 commented 8 months ago

@Eva-Music Try setting "readonly: true" as shown in this example.

Eva-Music commented 8 months ago

@srikumar003 with "readonly: true" Access Mode = ReadOnlyMany with "readonly: false" Access Mode = ReadWriteMany but I need ReadWriteOnce

srikumar003 commented 8 months ago

Sorry, I didn't pay attention to the actual mode. We don't support RWO yet but we can consider a feature request (or a PR 😄)