kubectl-config: add default namespace switching example (#17649)

* Update kubectl-config.md
This commit is contained in:
Managor
2025-08-16 21:35:35 +03:00
committed by GitHub
parent bf47c685ac
commit 282c4cf6d1
+4
View File
@@ -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}}`