alibaba / open-local

cloud-native local storage management system for stateful workload, low-latency with simplicity
Apache License 2.0
464 stars 81 forks source link

[feature] Could support each PVC exclusively occupying a VG? #252

Closed Clara12062 closed 7 months ago

Clara12062 commented 9 months ago

Why you need it?

We aim to enhance the independence between PVCs while maintaining scalability. The goal is to include a set of VGs within a single StorageClass (SC), where each VG is dedicated to a single PVC. This approach aims to mitigate the impact of disk failures on all PVCs within a VG, providing better fault isolation. Additional Note: Compared to exclusive disk allocation, this approach provides robust support for dynamic scaling.

How it could be?

We propose adding an option to the StorageClass that allows exclusive allocation of a VG to a PVC. Additionally, we suggest extending the vgName attribute to support regular expression matching instead of a single string. This enhancement would ensure that each PVC gets its dedicated VG, promoting isolation and reducing the risk of disruptions caused by a failure affecting all PVCs within a VG.

Other related information