root@n1:~# kubeadm join 172.16.0.4:6443 --token 4obwpl.b56mlblz4fmlvhu1 --discovery-token-ca-cert-hash sha256:838fa3d376985973707d7b2f00d389f65d08c11ffcb52a010af53fef2c9b2349 
[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 -o yaml'
error execution phase preflight: unable to fetch the kubeadm-config ConfigMap: failed to decode cluster configuration data: no kind "ClusterConfiguration" is registered for version "kubeadm.k8s.io/v1beta3" in scheme "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme
/scheme.go:31"To see the stack trace of this error execute with --v=5 or higher

kubeadm版本过低

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code