Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

minikube não inicia

Pessoal segui o roteiro instalando kubectl, o minikube e o virtualbox. Ao executar o minikube:

minikube start --vm-driver=virtualbox

Recebo o seguinte erro:

StartHost failed, but will try again: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (5.4.0-26-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n6.1.18r142142". Please upgrade at https://www.virtualbox.org Creating virtualbox VM (CPUs=2, Memory=2900MB, Disk=20000MB) ... Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (5.4.0-26-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n6.1.18r142142". Please upgrade at https://www.virtualbox.org

Exiting due to PR_VBOX_MODULE: Failed to start host: creating host: create: precreate: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (5.4.0-26-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n6.1.18r142142". Please upgrade at https://www.virtualbox.org Suggestion: Reinstall VirtualBox and reboot. Alternatively, try the kvm2 driver: https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/ Related issues: ▪ https://github.com/kubernetes/minikube/issues/4043https://github.com/kubernetes/minikube/issues/4711

Uso Mint 20.

2 respostas

Oi Thiago, tudo bem? Confere se você está utilizando no mínimo a versão 5 do VirtualBox.

solução!

oi Daniel, blz .... Daniel lendo o log com calma vi uma sugestão de issue para o problema:

https://github.com/kubernetes/minikube/issues/4043

no final da issue recomendam desabilitar o secure boot, eu desabilitei o secure boot e refiz a instalação do virtualbox e rodou .....

obrigado pela atenção ;-)