Difference between revisions of "GKE roles"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | https://cloud.google.com/kubernetes-engine/docs/concepts/access-control | ||
+ | * <code>[[Kubernetes Engine Cluster Viewer role|Kubernetes Engine Cluster Viewer]]</code> role | ||
+ | * <code>[[Kubernetes Engine Developer role|Kubernetes Engine Developer]]</code> role | ||
+ | * <code>[[Kubernetes Engine Cluster Admin role|Kubernetes Engine Cluster Admin]]</code> role | ||
− | + | ||
− | * [[ | + | |
+ | |||
+ | [[kubectl get pods]] | ||
+ | Error from server (Forbidden): pods is forbidden: User "your-user@your-project.[[iam.gserviceaccount.com]]" cannot list resource "pods" in API group "" at the cluster scope: requires one of ["[[container.pods.list]]"] permission(s). | ||
+ | |||
+ | Solution: assign [[Kubernetes Engine Developer role]] | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{GKE}} | ||
+ | |||
+ | [[Category:GKE]] |
Latest revision as of 15:01, 27 September 2022
https://cloud.google.com/kubernetes-engine/docs/concepts/access-control
Kubernetes Engine Cluster Viewer
roleKubernetes Engine Developer
roleKubernetes Engine Cluster Admin
role
kubectl get pods Error from server (Forbidden): pods is forbidden: User "your-user@your-project.iam.gserviceaccount.com" cannot list resource "pods" in API group "" at the cluster scope: requires one of ["container.pods.list"] permission(s). Solution: assign Kubernetes Engine Developer role
See also[edit]
Advertising: