我要在我的Ubuntu VM(在VMWare中)安装minikube。我首先在VM中安装了虚拟机,并安装了kubectl和Minikube。当我运行minikube start --iso-url="https://storage.googleapis.com/minikube/minikube-0.5.iso" --v=7
时,
我收到以下错误消息
(minikube) DBG | About to run SSH command:
(minikube) DBG | exit 0
(minikube) DBG | SSH cmd err, output: exit status 255:
(minikube) DBG | Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
(minikube) DBG | command : exit 0
(minikube) DBG | err : exit status 255
(minikube) DBG | output :
(minikube) DBG |
(minikube) DBG | Getting to WaitForSSH function...
(minikube) DBG | Using SSH client type: external
(minikube) DBG | Using SSH private key: /root/.minikube/machines/minikube/id_rsa (-rw-------)
(minikube) DBG | &{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@127.0.0.1 -o IdentitiesOnly=yes -i /root/.minikube/machines/minikube/id_rsa -p 45038] /usr/bin/ssh <nil>}
我如何解决这个问题并开始使用minikube?
答案 0 :(得分:1)
这里可能存在多个问题:
如果minikube已启动且ssh由于某种原因无效。
要检查这一点,看看迷你盒是否显示在虚拟盒控制台中,如果它显示minikube正在运行,那么ssh有问题。
如果虚拟框控制台未显示minikube正在运行,请在主机中查看是否已启用嵌套虚拟化,如果未在此处启用它。