ceph-csi/internal/cephfs
Niels de Vos b7703faf37 util: make inode metrics optional in FilesystemNodeGetVolumeStats()
CephFS does not have a concept of "free inodes", inodes get allocated
on-demand in the filesystem.

This confuses alerting managers that expect a (high) number of free
inodes, and warnings get produced if the number of free inodes is not
high enough. This causes alerts to always get reported for CephFS.

To prevent the false-positive alerts from happening, the
NodeGetVolumeStats procedure for CephFS (and CephNFS) will not contain
inodes in the reply anymore.

See-also: https://bugzilla.redhat.com/2128263
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-10-13 19:02:47 +00:00
..
core cephfs: retry subvolumegroup creation 2022-09-07 18:24:30 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
store cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
util cephfs: fix staticcheck comment 2022-08-10 17:51:26 +00:00
controllerserver.go cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
driver.go cephfs: subvolumes honor --setmetadata option 2022-08-01 07:15:29 +00:00
fuserecovery.go cleanup: create k8s.io/mount-utils Mounter only once 2022-07-21 07:14:43 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
nodeserver.go util: make inode metrics optional in FilesystemNodeGetVolumeStats() 2022-10-13 19:02:47 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00