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

simplify NodeGetVolumeStats #175

Closed min-zh closed 3 years ago

min-zh commented 3 years ago

Signed-off-by: zhangmin arminzhang@yunify.com

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug

What this PR does / why we need it: If there are hundreds of nodes of k8s, NodeGetVolumeStats will be called abount one minitue and half on each node. It's too mnay for the iaas api, and cause qingcloud-csi not work. So i remove the api call of NodeGetVolumeStats, and it has no influence of the qingcloud-csi.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Additional documentation e.g., usage docs, etc.:

min-zh commented 3 years ago

/cc @zheng1

zheng1 commented 3 years ago

/lgtm /approve