This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(gke/boot): Update command to auth to kubernetes host
When I ran `$ kubectl cluster-info`, I got this error: `error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.` Looks like the auth mechanism was updated a few months ago: kubernetes/kubernetes#30617 """ Previously, gcloud would have configured kubectl to use the cluster's static client certificate to authenticate. Now, gcloud is configuring kubectl to use the service account's credentials. Kubectl is just using the Application Default Credentials library, and it looks like this is part of the ADC flow for using a JSON-key service account. """ At the bottom of that thread, this command was suggested, which worked for me: `$ gcloud auth application-default login`.
- Loading branch information