Such as system:masters
、system:anonymous
、system:unauthenticated
.
Is there a way to have all system groups that do not contain external creation, just the system,kubectl command or a list?
I searched the Kubernetes documentation but didn't find a list or a way to get it.
There is no build-in command to list all the default user groups from the Kubernetes cluster.
However you can try to workaround in several options:
kubectl get clusterrole
command.Have you ever wondered what access rights you have on a provided kubernetes cluster? For single resources you can use
kubectl auth can-i list deployments
, but maybe you are looking for a complete overview? This is whatrakkess
is for. It lists access rights for the current user and all server resources, similar tokubectl auth can-i --list
.
See also more information about: