Skip to content

Instantly share code, notes, and snippets.

@yaroslavya
Created February 17, 2019 16:09
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 yaroslavya/840af5d7006be37d9029bf800639d6c8 to your computer and use it in GitHub Desktop.
Save yaroslavya/840af5d7006be37d9029bf800639d6c8 to your computer and use it in GitHub Desktop.
# if this is resulting in the same error for kubectl commands against your gke:
gcloud auth login
# you should try this:
gcloud auth application-default login
# behavior was changed in gcloud v128, see here: https://cloud.google.com/sdk/docs/release-notes#12800_20160928
# kudos for details to this so answer: https://stackoverflow.com/questions/41507904/could-not-find-default-credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment