Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active July 25, 2023 09:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Kubectl Installation on Windows

Kubectl

the Kubernetes-specific command line tool that lets you communicate and control Kubernetes clusters

Download Package from CURL (Terminal)

curl.exe -LO "https://dl.k8s.io/release/v1.27.3/bin/windows/amd64/kubectl.exe"

Create Env Variable

  • Assume we put config file on C:\kubectl\.kube\config
Variable Name: KUBECONFIG
Variable Value: C:\kubectl\.kube\config
  • Goals : image

Try

kubectl.exe get nodes -o wide

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment