本文共 346 字,大约阅读时间需要 1 分钟。
在执行kubeadm init初始化控制平面节点的时候,出现了如下的问题:
问题一:
[ERROR Swap]: running with swap on is not supported. Please disable swap
解决方法:
执行如下命令关闭swap:
#关掉swapswapoff -a#注释掉最后一行vi /etc/fstab#rebootreboot now
结果如下图示:
问题二:[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd".
问题三:failed to pull image
转载地址:http://rtgtz.baihongyu.com/