DevOps-Nirvana/Kubernetes-Volume-Autoscaler

Trigger on inodes count

Closed this issue ยท 5 comments

piec commented

Hi,

Sometimes a volume is full because there is no free inode left, while the capacity usage is still low. This happens when you have lots of small files for example.
The feature request would be to add a new resize condition based on the inodes free/count ratio (based on kubelet_volume_stats_inodes* metrics for example)

Cheers,
Pierre

I've just implemented this, will test it shortly and then release it.

Released feature in 1.0.8

piec commented

Awesome ๐Ÿ˜ƒ! I will also test it

piec commented

I tested it and it works for me ๐Ÿ‘ , thanks

@piec Thanks for the awesome feature request! I've never had to scale on tons of little files myself in recent history, but I've definitely had this problem in the past so it's good to be able to handle it for those rare use-cases and systems which needs lots of small files. It was an easy add as well, so no worries! Cheers!