1 Answers
Hi Ricardo, I had the same problem, if you’re using GCP, you need to run the following (add the correct clustername and zone) :
gcloud container clusters get-credentials your-first-cluster-1 --zone us-central1-a
- See the following documentation for an explanation:
https://cloud.google.com/kubernetes-engine/docs/quickstart
To authenticate for the cluster, run the following command:
gcloud container clusters get-credentials [CLUSTER_NAME]
This command configures kubectl to use the cluster you created.
Faye