Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Windows Setup Guide

Tormod Tønnesen edited this page Jun 6, 2017 · 19 revisions

Complete guide for installing and setting up Minikube, Kubernetes, and kubectl on Windows.

If you have problems installing, please post them in the issue tracker. You can also contribute to this guide by editing it.

Prerequisite

  • Windows 7 (not tested on Windows 10) x86_64
  • Internet connection
  • No VPN connection

1. Install curl

  • Download curl
  • Extract using 7-Zip
  • Add the curl-7.54.0/src/curl.exe executable to your %PATH%
setx path "%path%;C:\path\to\curl\"

2. Install VirtualBox (5.0.x)

⚠️ If you have VirtualBox 5.1.x installed – you need to downgrade to 5.0.40.

3. Install kubectl

setx path "%path%;C:\path\to\kubectl\"

4. Install minikube

setx path "%path%;C:\path\to\minikube\"

5. Restart you machine

6. Disconnect from any VPNs

7. Pre-flight check

Open a new command prompt (cmd) and runn the following commands:

where kubectl
where minikube

If any of the commands above returns nothing, or throws an error, it means Windows could not locate the executables and you will need to add them to your %PATH%.

8. Setup minikube

You need to be in your home drive in order to setup minikube correctly. Open a new command prompt (cmd) and run the following:

cd %HOMEPATH%

Now, lets setup the minikube machine. Run the following command in your command prompt:

minikube start -v 4

9. Verify your setup

Continue here to verify you setup and complete setting up the workshop.