Enable Kubernetes On Docker For Windows Edge Channel

In this blog post, I’ll show you how to enable Kubernetes on Docker For Windows on Windows 10.

The current Docker Edge Channel comes with Kubernetes 1.8 version and one-node In the cluster.

About Kubernetes

Kubernetes is an open-source system for automating deployment, scaling and management of containerized applications that was originally designed by Google and donated to the Cloud Native Computing Foundation.

It aims to provide a “platform for automating deployment, scaling, and operations of application containers across clusters of hosts”. It supports a range of container tools, including Docker.

Requirements

To be able to use Kubernetes on Windows 10, you will need Windows 10 with update 1709.

Docker For Windows with the latest Edge Channel

Enable Kubernetes

To enable Kubernetes, Right click on the Docker Icon from the docker menu and click on Settings

If you have the latest Edge channel Installed, you will see the Kubernetes option available on the left menu

Tick the two boxes and wait for the Kubernetes Installation

Click Install to start the Install

When done, you will see that both services are green

From the command line run the two commands

kubectl config get-contexts
kubectl config use-context docker-for-desktop

Once, Installed configured you I could deploy workload in workload to Kubernetes, Swarm or standalone containers and disabling Kubernetes won’t affect other workloads.

This article was first published on DeployContainers.com

Leave a Reply