**已关闭。**此问题为not about programming or software development。目前不接受回答。
此问题似乎与a specific programming problem, a software algorithm, or software tools primarily used by programmers无关。如果您认为此问题与another Stack Exchange site的主题相关,可以发表评论,说明在何处可以回答此问题。
3小时前关闭。
Improve this question
[init] Using Kubernetes version: v1.25.16
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster. Kubelet version: "1.28.2" Control plane version: "1.25.16"
[ERROR Port-2379]: Port 2379 is in use
[ERROR Port-2380]: Port 2380 is in use
[ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
我试图在我的远程ubuntu服务器上创建集群
1条答案
按热度按时间wn9m85ua1#
您的kubeadm需要的端口已经被占用,可能是因为您之前运行了kubeadm init命令。要获取新的连接令牌,您可以使用以下命令:
字符串
如果看到错误消息,请尝试运行这些命令以重新设置并重新初始化:
型
如果再次出现错误kubelet version is higher than the control plane version,可以使用kubeadm init命令,并带kubernetes-version参数:
型