2018-09-20 - How to install Kubernetes on Windows 10

This is hopefully easy for you to do, but it depends on how much of a snowflake your laptop/PC is. Meaning, the newer the PC and fresher install, the easier it is.


Requirements:

  • Windows 10 64bit Pro, Enterprise and Education (1607 Anniversary Update, Build 14393 or later).

TL;TR; (or the hard way)

Do this:

https://docs.docker.com/docker-for-windows/install/

https://store.docker.com/editions/community/docker-ce-desktop-windows

The installer will set everything up for you including enabling Hyper-V and stuff. Hopefully you don't need to enable Hyper-V from bios as well.

After install you will see a whale in the taskbar:

  • Right-Click and select Settings
  • Select Settings => Kubernetes

  • #1: Check "Enable Kubernetes"
  • #2: Select "Kubernetes"
  • #3 Check "Show system containers"
  • Click on "Apply"


Now you should be ready to deploy your first Kubernetes Container!


The hard way (Troubleshooting)

If you have an existing installation, first make a Factory Reset via Settings => Reset => Factory Reset
After installation, you need to configure a bit:


  • Select "Expose daemon..".


  • Share all drives and touch Apply. Create local admin if your Domain user is not working:

If Docker does not start up on the first try, you can:
  • Restart PC a few times
  • Run "Settings => Reset => Factory Reset". Then restart your PC.