kubectl config set-context --current (#15039)

pull/15111/head
Jesse Glick 2019-06-25 11:44:38 -04:00 committed by Kubernetes Prow Robot
parent 498d870280
commit a23fcb5727
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ You can permanently save the namespace for all subsequent kubectl commands in th
context.
```shell
kubectl config set-context $(kubectl config current-context) --namespace=<insert-namespace-name-here>
kubectl config set-context --current --namespace=<insert-namespace-name-here>
# Validate it
kubectl config view | grep namespace:
```