hardkubectl

Set the default namespace for the current kubectl context so you don't need -n on every command

command

kubectl config set-context --current --namespace NAMESPACE

also accepted

kubectl config set-context --current --namespacekubectl config set-context --current

Test your recall — not just your reading.

Practice with interactive quiz →