错误信息如下
I0712 15:04:32.175547 43383 version.go:255] remote version is much newer: v1.24.2; falling back to: stable-1.23
[upload-certs] Storing the certificates in Secret "kubeadm-certs" in the "kube-system" Namespace
[upload-certs] Using certificate key:
80e99b465f792165183d8ec02426e84660c26b2dd1993e9ad23e5311a4d9311f
15:04:33 CST stdout: [22-18-centos]
Error from server (NotFound): secrets "kubeadm-certs" not found
15:04:33 CST message: [22-18-centos]
patch kubeadm secret failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl patch -n kube-system secret kubeadm-certs -p '{\"data\": {\"external-etcd-ca.crt\": \"\"}}'"
Error from server (NotFound): secrets "kubeadm-certs" not found: Process exited with status 1
15:04:33 CST failed: [22-18-centos]
error: Pipeline[CreateClusterPipeline] execute failed: Module[KubernetesStatusModule] exec failed:
failed: [22-18-centos] [GetClusterStatus] exec failed after 3 retires: patch kubeadm secret failed: Failed to exec command: sudo -E /bin/bash -c "/usr/local/bin/kubectl patch -n kube-system secret kubeadm-certs -p '{\"data\": {\"external-etcd-ca.crt\": \"\"}}'"
Error from server (NotFound): secrets "kubeadm-certs" not found: Process exited with status 1