k8s加入master 常遇到问题
[ERROR Swap]: running with swap on is not supported. Please disable swap[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...执行的时候加上 命令后面加上--...
·
[ERROR Swap]: running with swap on is not supported. Please disable swap[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
执行的时候加上 命令后面加上 --ignore-preflight-errors=all
如下:
[root@localhost ~]# kubeadm join localhost:6443 --token ub3l24.e0ctf0eet63zhfoe --discovery-token-ca-cert-hash sha256:2131c7dcd9e455f0fc2a8b8bd42ac8a3eae44ce010887e8852c9b23e6e112708 --ignore-preflight-errors=all
就可以了~
更多推荐
已为社区贡献2条内容
所有评论(0)