Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active July 25, 2023 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilangvperdana/875a267286cb3bef503383add223e67e to your computer and use it in GitHub Desktop.
Save gilangvperdana/875a267286cb3bef503383add223e67e to your computer and use it in GitHub Desktop.
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