diff --git a/pages/common/kubectl-config.md b/pages/common/kubectl-config.md index 3a5d9cc55b..1b4e87ef24 100644 --- a/pages/common/kubectl-config.md +++ b/pages/common/kubectl-config.md @@ -17,6 +17,10 @@ `kubectl config current-context` +- Set the default namespace of the current context: + +`kubectl config set-context --current --namespace {{namespace}}` + - Switch to another context: `kubectl config {{use|use-context}} {{context_name}}`