Difference between revisions of "Kubectl auth can-i list pods"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[kubectl auth | + | [[kubectl auth can-i]] list pods |
[[kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit]] | [[kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit]] | ||
Line 9: | Line 9: | ||
* {{Kubernetes RBAC}} | * {{Kubernetes RBAC}} | ||
* {{Kubernetes Authorization}} | * {{Kubernetes Authorization}} | ||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 13:43, 20 September 2023
kubectl auth can-i list pods kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit
error: You must be logged in to the server (Unauthorized)
See also[edit]
kubectl auth [ can-i | reconcile ]
- Kubernetes RBAC
kubectl auth, kubectl auth can-i, kubectl auth reconcile
kubectl create [ role | clusterrole | clusterrolebinding
|rolebinding | serviceaccount ], groups:
, Kubernetes RBAC good practices,kube2iam
, K8s Cluster roles,rbac.authorization.k8s.io
,system:
- Kubernetes Authorization,
kubectl auth can-i
Advertising: