Node filesystem alerting is not aligned with kubelet eviction thresholds #3474
Labels
kind:bug
Something isn't working
topic:monitoring
Everything related to monitoring of services in a running cluster
Component: kubernetes, alerting
What happened:
When trying to raise
NodeFilesystemAlmostOutOfSpace
alerts manually (by creating arbitrary large files in the root FS), we realized kubelet triggered the eviction process long before we reached the 5% threshold.What was expected:
To get an alert much before kubelet starts evicting pods.
Resolution proposal:
Lower the alert thresholds according to kubelet defaults (which we don't want to change for now):
NodeFilesystemAlmostOutOfSpace
(kubelet usesnodefs.available<10%
):5%20% space left3%12% space leftNodeFilesystemAlmostOutOfFiles
(kubelet usesnodefs.inodesFree<5%
):5%15% inodes left3%8% inodes leftThe text was updated successfully, but these errors were encountered: