CmdID / kubectl / kubectl create
kubectl create rolebinding
Create a role binding for a particular role or cluster role kubectl reference
14 options Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--clusterroleClusterRole this RoleBinding should reference--dry-runMust be "none", "server", or "client".--field-managerName of the manager used to track field ownership.--groupGroups to bind to the role.--help, -hhelp for rolebinding--output, -oOutput format.--roleRole this RoleBinding should reference--save-configIf true, the configuration of current object will be saved in its annotation.--serviceaccountService accounts to bind to the role, in the format :.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.--userUsernames to bind to the role.--validateMust be one of: strict (or true), warn, ignore (or false).