Search code examples
google-kubernetes-enginegcloud

ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'W:\\'


I am using the Google Cloud SDK shell. When typing the following command:

gcloud container clusters get-credentials test-cluster

I get the following error:

ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'W:\\'

I am unsure why this is happening. This command should just configure kubectl to use the cluster I already created called "test-cluster", but it is trying to looking to a drive W:, which I know does not exist.


Solution

  • I had a similar issue: ERROR: gcloud crashed (WindowsError): [Error 3] The system cannot find the path specified: u'Z:\'

    No sure why, but what worked for me was running CMD as Administrator