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 [ 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: