Difference between revisions of "Kubectl auth can-i list pods"
Jump to navigation
Jump to search
(Created page with "{{lc}} kubectl auth can-i list pods") |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[kubectl auth]] can-i list pods | + | [[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 == | ||
+ | * {{kubectl auth}} | ||
+ | * {{Kubernetes RBAC}} | ||
+ | * {{Kubernetes Authorization}} | ||
+ | |||
+ | [[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: