Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on NodeGetVolumeStats Behavior and Required Feature Gate for Volume Health and PVC Usage Monitoring #263

Open
adarsh-dell opened this issue Jun 24, 2024 · 1 comment

Comments

@adarsh-dell
Copy link

adarsh-dell commented Jun 24, 2024

According to the documentation, enabling the feature gate is necessary to utilize this feature. In one of our OCP clusters, I observed that NodeGetVolumeStats is being called by the node service of the CSI driver container. Could someone please clarify if this behavior is expected? If so, what specific functionality requires the feature gate to be enabled at the cluster level?

We have enabled this feature to monitor volume health and to track PVC usage, including remaining and used capacity.

image

Thanks,
Adarsh

@xing-yang
Copy link
Contributor

Sorry, I missed this issue earlier. "used" capacity is part of NodeGetVolumeStats that is already GA. It is not controlled by the volume health feature gate. Volume health feature gate enables VolumeConditionAbnormal events to be reported and corresponding metric to be emitted: https://kubernetes.io/blog/2021/04/16/volume-health-monitoring-alpha-update/#node-side-volume-health-monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants