How to start Minikube with HyperV?

by cathrine_goyette , in category: General Help , a month ago

How to start Minikube with HyperV?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by viola_gleichner , a month ago


To start Minikube with HyperV, follow these steps:

  1. Enable Hyper-V on your machine: Open a Command Prompt as Administrator. Execute the following command: bcdedit /set hypervisorlaunchtype auto. Restart your computer for the changes to take effect.
  2. Install Minikube: Go to the Minikube releases page on GitHub: Download the latest version of Minikube for Windows with the file name minikube-windows-amd64.exe. Rename the downloaded file to minikube.exe. Move the minikube.exe file to a directory that is in your system's PATH.
  3. Open a PowerShell terminal as Administrator.
  4. Start Minikube using the Hyper-V driver: Execute the command: minikube start --driver=hyperv.

Minikube will now start with the Hyper-V driver. It will create a virtual machine using Hyper-V, which will deploy a Kubernetes cluster locally on your machine.

Note: Minikube requires administrative rights to be able to create the virtual machine.