Open calvinyv opened 4 years ago
/assign @leoendless @wnxn /kind bug
In KS 2.1.x, mounted volume usage feature is only supported by QingCloud CSI. NFS storage plugin does not support this feature.
The suggestion says to tell user such limitation in console instead of showing 0%.
General remarks Describe the bug(描述下问题) A clear and concise description of what the bug is.
For UI issues please also add a screenshot that shows the issue.
Versions used(KubeSphere/Kubernetes的版本) KubeSphere: 2.1.1 The default storage class is nfs
To Reproduce(复现步骤) Steps to reproduce the behavior: As nfs limitation, there's no API provided from nfs to get mounted volume usage for each pv, but on KubeSphere console, it seems we always show it as '0%'. This is very confusing to end-users.
Expected behavior(预期行为) on the volume list page, if those volumes belong to nfs sc, just tell end-users that 'capacity usage is not supported for nfs'.