无法连接到服务器 connecteX 错误

时间:2021-03-08 05:40:40

标签: virtualbox kubectl microk8s

我在本地 Windows 10 机器上使用 Microk8s,但无法获取 pod 或使用大部分 kubectl 命令。

在安装microk8s时,multipass选择了VitrualBox进行VM虚拟化。

我收到以下错误

C:\Users\owner>microk8s kubectl get pods
Unable to connect to the server: dial tcp 10.0.2.15:16443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

VirtualBox 6.1 版 确保多通道列表显示 VM 处于运行状态。

有一个先前版本的 VitrualBox 和 minikube - 我现在已经卸载并单独安装了 VirtualBox。还清理了 %USER_HOME%/.kube 目录和 %USER_HOME%/AppData/local/minikube 和 %USER_HOME%/AppData/local/VirtualBox 文件夹。

0 个答案:

没有答案