创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
物理机,Centos7.9 2C/4G
Kubernetes版本信息
将 kubectl version
命令执行结果贴在下方
1.19.8

容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
master节点:docker-engine version: 20.10.7
工作节点:19.03.13
KubeSphere版本信息
版本v3.1.0
kk安装
问题是什么
ERRO[00:38:47 CST] Failed to add worker to cluster: Failed to exec command: sudo env PATH=$PATH /bin/sh -c “/usr/local/bin/kubeadm join lb.kubesphere.local:6443 –token rf5uu3.0ymshintt4fjool7 –discovery-token-ca-cert-hash sha256:be398a0aa86d2c1d59e0c865a7b8eff1e9b4c131f95c97189dc8e34571f894de”
[preflight] Running pre-flight checks
[preflight] Reading configuration from the cluster…
[preflight] FYI: You can look at this config file with ‘kubectl -n kube-system get cm kubeadm-config -oyaml’
W0510 00:36:42.433427 42393 utils.go:69] The recommended value for “clusterDNS” in “KubeletConfiguration” is: [10.233.0.10]; the provided value is: [169.254.25.10]