diff --git a/cluster/gce/windows/README-GCE-Windows-kube-up.md b/cluster/gce/windows/README-GCE-Windows-kube-up.md index 9edd642b6d2..15793047b63 100644 --- a/cluster/gce/windows/README-GCE-Windows-kube-up.md +++ b/cluster/gce/windows/README-GCE-Windows-kube-up.md @@ -23,6 +23,15 @@ rm -rf ./kubernetes/; rm -f kubernetes.tar.gz; rm -f ~/.kube/config # if you're working with multiple projects and don't want to repeatedly switch # between gcloud config configurations. export CLOUDSDK_CORE_PROJECT= + +# To run e2e test locally, make sure "Application Default Credentials" is set in any of the places: +# References: https://cloud.google.com/sdk/docs/authorizing#authorizing_with_a_service_account +# https://cloud.google.com/sdk/gcloud/reference/auth/application-default/ +# 1. $HOME/.config/gcloud/application_default_credentials.json, if doesn't exist, run this command: +gcloud auth application-default login +# Or 2. Create a json format credential file as per http://cloud/docs/authentication/production, +# then export to environment variable +export GOOGLE_APPLICATION_CREDENTIAL=[path_to_the_json_file] ``` ### 1. Build Kubernetes