Install Kubernetes on Windows

From Bonus Bits
Jump to: navigation, search
Not Tested yet

Purpose

This article gives the steps to setup Kubernetes on Windows with Docker for Windows.


Prerequisites

  • Docker for Windows (18.06 CE Edge or higher)
  • Windows 10 Pro or Enterprise (Not Home)


Install

  1. Open Docker Preferences
  2. Select Kubernetes
  3. Check box for Enable Kubernetes
  4. Check box for Deploy Docker Stacks to Kubernetes by default (Optional - Recommended)
Docker Desktop enable kubernetes


Enable Hyper-V

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


Test

kubectl get nodes

Example

NAME                 STATUS    ROLES     AGE       VERSION
docker-for-desktop   Ready     master    1h        v1.10.11


Related Articles


Sources