Failed to install kubectl on Google Compute Engine (GCE)?
Update (May 2016): Starting at the end of March 2016, gcloud will now install kubectl for windows.
gcloud will not currently install kubectl on windows (hence the bug). You can download the recent kubectl binary directly from GCS ( gsutil cp gs://kubernetes-release/release/v1.0.0/bin/windows/amd64/kubectl.exe kubectl.exe
).
Since kubectl is much less heavily tested on windows than it is on Mac / Linux, you may need to pass an argument --kubeconfig
if it doesn't find your config file in the default location ( gcloud container clusters get-credentials NAME
must write to .kube/config
in your home directory and kubectl must read from the same file ).
source to share