February 22, 2020

Install Kubectl on windows 10

Kubectl is a tool that allows you to manage your kubernetes (k8s) clusters

Install Kubectl on windows 10

Install Kubectl

On windows 10 it's fairly simple to install kubectl by leveraging chocolatey

choco install kubernetes-cli

Now you should be able to verify kubectl is working as expected.

PS ...\kubernetes> kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.1", GitCommit:"d224476cd0730baca2b6e357d144171ed74192d6", GitTreeState:"clean", BuildDate:"2020-01-14T21:04:32Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

Now that you have kubectl running you're good to start managing your kubernetes (k8s) clusters.