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
Try
kubectl.exe get nodes -o wide