Windows

Prerequisites

  • Windows 8 or above
  • 4GB of RAM

Installation

Download and run the minikube installer

If the Chocolatey Package Manager is installed, use it to install minikube:

choco install minikube

After it has installed, close the current CLI session and reopen it. minikube should have been added to your path automatically.

Install Docker

Usage

Start a cluster using the docker driver:

minikube start --driver=docker

To make docker the default driver:

minikube config set driver docker

Check Hypervisor

To check if virtualization is supported, run the following command on your Windows terminal or command prompt.

systeminfo

If you see the following output, virtualization is supported:

Hyper-V Requirements:     VM Monitor Mode Extensions: Yes
                          Virtualization Enabled In Firmware: Yes
                          Second Level Address Translation: Yes
                          Data Execution Prevention Available: Yes

If you see the following output, your system already has a Hypervisor installed and you can skip the next step.

Hyper-V Requirements:     A hypervisor has been detected.

Requirements

Enabling Hyper-V

Open a PowerShell console as Administrator, and run the following command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

If Hyper-V was not previously active, you will need to reboot.

Usage

minikube start --driver=hyperv 

To make hyperv the default driver:

minikube config set driver hyperv

Check Hypervisor

To check if virtualization is supported, run the following command on your Windows terminal or command prompt.

systeminfo

If you see the following output, virtualization is supported:

Hyper-V Requirements:     VM Monitor Mode Extensions: Yes
                          Virtualization Enabled In Firmware: Yes
                          Second Level Address Translation: Yes
                          Data Execution Prevention Available: Yes

If you see the following output, your system already has a Hypervisor installed and you can skip the next step.

Hyper-V Requirements:     A hypervisor has been detected.

Requirements

Usage

Start a cluster using the virtualbox driver:

minikube start --driver=virtualbox

To make virtualbox the default driver:

minikube config set driver virtualbox

Getting to know Kubernetes

Once started, you can use any regular Kubernetes command to interact with your minikube cluster. For example, you can see the pod states by running:

 kubectl get po -A

Increasing memory allocation

minikube auto-selects the memory size based on your system up to 6000mb. For larger deployments, increase the memory allocation using the --memory flag, or make the setting persistent using:

minikube config set memory 8096

Where to go next?

Visit the examples page to get an idea of what you can do with minikube.

📣😀 Please fill out our fast 5-question survey so that we can learn how & why you use minikube, and what improvements we should make. Thank you! 💃🏽🎉

Last modified April 4, 2020: Move start page back (cf61a8342)