yunify / qingcloud-csi

Kubernetes volume plugin based on CSI specification which support block storage of qingcloud
Apache License 2.0
37 stars 22 forks source link

Make storageclass parameters more user friendly #141

Closed wnxn closed 4 years ago

wnxn commented 4 years ago

What would you like to be added: Case1: If user doest not set and parameters, storageclass created by default parameters.

type: 100
maxSize: 2000
minSize: 10
stepSize: 10
fsType: ext4
replica: 2

Case2: If user sets type, driver will set maxSize, minSize and stepSize corresponding with specified type.

type: 5
maxSize: 50000
minSize: 100
stepSize: 100
fsType: ext4
replica: 2

Case3: If user sets all parameters, driver will follow user settings.

Why is this needed: