阅读量:0
preflight] Some fatal errors occurred: [ERROR Port-10250]: Port 10250 is in use [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` error execution phase preflight k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1 cmd/kubeadm/app/cmd/phases/workflow/runner.go:260
解决方法
在启动命令添加 --ignore-preflight-errors=Port-10250
sudo kubeadm init --config kubeadm-config.yaml --v=5 --ignore-preflight-errors=Port-10250
查看端口是否真的被占用了
sudo lsof -i :10250
,如果占用了kill -9 pid
sudo kubeadm reset