Provide access to GKE cluster
Jump to navigation
Jump to search
0) Install tools:
1) Configure account and project and service account
gcloud config set account your-account
gcloud config set project YOUR-PROYECT
gcloud auth activate-service-account --key-file
2) Provider GKE access: Kubernetes Engine Cluster Viewer, Kubernetes Engine Developer, Kubernetes Engine Cluster Admin
- Provider appropriate role: GKE roles
3) Get credentials for ~/.kube/config
4) Verify, list clusters and pods:
YOUR_ACCOUNT="XXXXX" YOUR_PROJECT="YYYY" brew install --cask google-cloud-sdk && gcloud components install gke-gcloud-auth-plugin && gcloud config set account "$YOUR_ACCOUNT" && gcloud config set project "$YOUR_PROJECT" .../...
Related[edit]
See also[edit]
Advertising: