hardkubectl

Apply RBAC roles and bindings from a file, updating any that have changed

command

kubectl auth reconcile -f rbac.yaml

also accepted

kubectl auth reconcile -f

Command breakdown

Part of the Kubernetes CLI (kubectl) — kubectl Advanced category.

kubectlauthreconcile-frbac.yaml
FlagPurpose
-fBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →