Cluster information:
Kubernetes version: v1.29.2, GKE cluster version: 1.27.8-gke.1067004
Cloud being used: GKE
Installation method: brew and gcloud
Host OS: macOS
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=403, message=Permission denied on ‘locations/us-central-1’ (or it may not exist).
I am having the issue above whenever I write the command:
gcloud container clusters get-credentials three-tier-demo --region=us-central-1
-I have checked all the IAM permissions and couldn’t find anything
-I have installed the package manager and still having the issue.
-And I enabled the necessary APIs