5
respostas

erro ao executar minikube start

erro ao executar o comando minikube estart no win 10

C:\Users\rsilva\Desktop\kubernetes>minikube start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E1217 10:33:01.482256    1616 start.go:168] Error starting host: Error starting stopped host: exit status 1.

 Retrying.
E1217 10:33:01.483246    1616 start.go:174] Error starting host:  Error starting stopped host: exit status 1
5 respostas

Oi Renato,

Para "limpar" o minikube tente executar na linha de comando:

minikube delete

Depois verifique o status com:

minikube status 

Deve mostrar tudo sem valor (host, kubelet, apiserver).

E finalmente force o uso do virtualbox com logs ligados "verboso":

minikube start --vm-driver="virtualbox"  -v=0 --logtostderr 

abs

Mas no docker desktop só funciona o hyper-v da certo especificando o driver?

Oi Renato,

Isso mesmo, o Docker Desktop exige Hyper-V.

abs

agora esta dando esse erro apos executar esses comandos

PS C:\Kubernetes> minikube start --vm-driver="hyper-v"  -v=0 --logtostderr 
 Starting local Kubernetes v1.10.0 cluster...
 Starting VM...
I1217 14:01:34.535981  8624 cluster.go:69] Machine does not exist... provisioning new machine
 I1217 14:01:34.535981    8624 cluster.go:70] Provisioning machine with config: {MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v0.30.0.iso Memory:2048 CPUs:2 DiskSize:20000 VMDriver:hyper-v HyperkitVpnKitSock: HyperkitVSockPorts:[] XhyveDiskDriver:ahci-hd DockerEnv:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: KvmNetwork:default Downloader:{} DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: GPU:false} 
 F1217 14:01:34.535981    8624 cluster.go:212] Unsupported driver: hyper-v   

Oi Renato,

o nome de driver deve ser hyperv

No blog abaixo tbm é mencionado um Virtual Switch que deve ser criado antes:

https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c

abs