Kubernetes · Resource
RoleBinding
A RoleBinding gives users, groups, or service accounts the permissions from a Role or ClusterRole. Its namespace controls where those permissions work.
Last updated
Syntax
kubectl create rolebinding NAME --clusterrole=NAME|--role=NAME [--user=username] [--group=groupname] [--serviceaccount=namespace:serviceaccountname] [--dry-run=server|client|none]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RoleClusterRoleClusterRoleBindingSubjectRoleRefkubectl create rolebinding