How to start Minikube with HyperV?

by cathrine_goyette , in category: General Help , 6 months ago

How to start Minikube with HyperV?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by viola_gleichner , 6 months ago

@cathrine_goyette 

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: https://github.com/kubernetes/minikube/releases 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.

by caesar_kertzmann , 18 days ago

@cathrine_goyette 

  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: https://github.com/kubernetes/minikube/releases 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 an Administrator PowerShell terminal.
  4. Start Minikube using the Hyper-V driver: Execute the command: minikube start --driver=hyperv.


Minikube will now be started 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 that Minikube requires administrative rights to create the virtual machine.