#Kubernetes failed to run Kubelet: running with swap on is not supported, please disable swap
问题背景
安装完Kubernetes以后,测试了一下kubelet,遇到这个错误:
failed to run Kubelet: running with swap on is not supported, please disable swap
解决方法
最简单的解决方法是: 禁用swap
Ubuntu下,在命令行里执行:
sudo swapoff -a
扫一扫关注微信公众号:耿直的IT男阿斌
聊一聊IT男眼中的世界