[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

     就可以了~

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐