Google Cloud CLI (gcloud) · Kubernetes and IAM
Grant a role
Give a user a role on the project.
gcloud projects add-iam-policy-binding my-project --member user:[email protected] --role roles/viewer
Official Google Cloud CLI (gcloud) documentation
More kubernetes and iam commands
- Connect kubectl to GKE
- List GKE clusters
- List service accounts
- Authenticate Docker to Artifact Registry
All kubernetes and iam commands · Google Cloud CLI (gcloud) cheatsheet