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

Remove false alarm on a volume with infinite inodes #820

Closed
wants to merge 1 commit into from

Conversation

garo
Copy link

@garo garo commented Jan 25, 2023

On some storage systems, such as a CephFS filesystem, the underlying storage doesn't have any limit on inodes.

If the kubelet_volume_stats_inodes_free metric is always zero, then the KubePersistentVolumeInodesFillingUp alert will always fire.

This patch adds a simple conditional to ensure that the kubelet_volume_stats_inodes_free is meaningful for the volume and thus fixing the false alert on this edge case.

On some storage systems, such as a CephFS filesystem, the underlying storage doesn't have any limit on inodes.

If the kubelet_volume_stats_inodes_free metric is always zero, then the KubePersistentVolumeInodesFillingUp alert will always fire.

This patch adds a simple conditional to ensure that the kubelet_volume_stats_inodes_free is meaningful for the volume and thus fixing the false alert on this edge case.
@simonpasquier
Copy link
Contributor

I believe that it was fixed in the Ceph CSI driver by ceph/ceph-csi#3407.

@garo
Copy link
Author

garo commented Jan 27, 2023

Looks indeed like it. I'll close this.

@garo garo closed this Jan 27, 2023
@garo garo deleted the patch-1 branch January 27, 2023 10:39
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

Successfully merging this pull request may close these issues.

2 participants