kubens

Switch namespaces

low risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Sets the default namespace in kubeconfig.

Examples
kubens kube-systemSwitch · explain & risk-check →
Related
kubectx
Open the full explainer →More in Kubernetes & Helm

Reference text is hand-written and may be incomplete — check man kubens for your version. Test destructive commands on a non-production system first.