kubectl 1.37 reference · 3 entries
kubectl Access and Configuration
Check permissions, preview changes and switch clusters with kubectl auth can-i, diff and config.
| Name | Description | Since |
|---|---|---|
kubectl auth can-i |
Check whether you, or another user or service account via --as, may perform an action; --list shows everything allowed. | |
kubectl diff |
Show what kubectl apply would change in the cluster, as a diff against the live objects, before you apply it. | |
kubectl config |
Inspect and switch kubeconfig contexts (cluster, user and default namespace), and set the namespace for the current context. |