yunify / qingcloud-csi

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

disable capacity calculation in csi side #192

Open stoneshi-yunify opened 2 years ago

stoneshi-yunify commented 2 years ago

when create/resize volume, csi will calculate a proper capacity based on the input and some rules (e.g. hardcode or parameters in the storageclass), then call iaas. The problem is, when iaas side upgrade, csi may calculate a wrong/improper capacity.

We anticipate only and always should iaas do the capacity calculation (e.g. round up to a best available capacity), this way iaas can upgrade anytime and csi will not be affected, which is tracked by https://track.yunify.com/browse/KS-296. It seems iaas has completed the api enhancement so we can remove/disable the csi side capacity calculation.

stoneshi-yunify commented 2 years ago

/cc @@f10atin9

f10atin9 commented 2 years ago

/assign