赞
踩
1.修改kubelet配置(/etc/systemd/system/kubelet.service)后需要重启,报错Warning: kubelet.service changed on disk. Run 'systemctl daemon-reload' to reload units.
2.执行systemctl daemon-reload,未报错,然后执行systemctl restart kubelet,重启成功,但是依然报错Warning: kubelet.service changed on disk. Run 'systemctl daemon-reload' to reload units.,并且检查修改的配置点未生效;
3.手动启动kubelet,终端错误输出:
error: failed to run Kubelet: failed to create kubelet: failed to listen on "unix:///var/run/dockershim.sock": listen unix /var/run/dockershim.sock: bind: no space left on device
4.df -h检查磁盘空间充足,df -i 检查/run目录下inode100%
5.进入/run目录,执行以下命令逐层查询定位大量文件所在目录
for i in ./*;do echo -ne "$i\t";find $i|wc -l;done
6.确认后删除历史文件;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。