mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Fixed minor error in docs for namespaces
This commit is contained in:
parent
e86c3de65b
commit
48338eece1
@ -99,7 +99,9 @@ $ export CONTEXT=$(kubectl config view | grep current-context | awk '{print $2}'
|
||||
Then update the default namespace:
|
||||
|
||||
```console
|
||||
$ kubectl config set-context $(CONTEXT) --namespace=<insert-namespace-name-here>
|
||||
$ kubectl config set-context $CONTEXT --namespace=<insert-namespace-name-here>
|
||||
# Validate it
|
||||
$ kubectl config view | grep namespace:
|
||||
```
|
||||
|
||||
## Namespaces and DNS
|
||||
|
Loading…
Reference in New Issue
Block a user