What is
rbac.authorization.k8s.io
? is that just the api version RBAC uses to work, etcWhen you run a
RBAC
command (for example creating a role), is the request sent to the master server to process or is that done locally on the node? how is that process working?What are API groups? when defining a role I notice it asks for this, what's it referring to? EX:
apiGroups: [""]
K8s RBAC authorization functionality
34 views Asked by jssteele89 At
1
The rbac.authorization.k8s.io is a type of authorization in kubernetes that sets access such as "clusterRole" and "RoleBinding" for individual user access. This help admins to dynamically configure permissions in K8s API. There are other authorization modes that you can see here in the official docs.
It is typically sent to the control plane and evaluate users that shall access the cluster. This is easier to manage on a cloud provider since there are pre-existing APIs that are connected to authentication services of the provider.
API groups are used for modification purposes in "verb" type. You can use the following request verbs to create your RBAC mode authorization rules.