kubelet启动失败——inotify

参考issue

This error (ENOSPC) comes from the inotify_add_watch syscall, and actually has multiple meanings (the message comes from golang). Most likely the problem is from exceeding the maximum number of watches, not filling the disk. This can be increased with the fs.inotify.max_user_watches sysctl, but I would investigate what else is creating so many watches first. How many containers are you running?

解决方法:
sudo sysctl fs.inotify.max_user_watches=1048576

你可能感兴趣的:(kubelet启动失败——inotify)