Correcting details about current request namespace (#15061)

Removed ambiguous word 'temporarily', as namespace set using that method, is not temporary. It is permanent for a current resource and there is no concept of a temporary namespace in K8s. 
Also, for consisteny '--namespace' flag added after the actual command.
pull/15085/head
Rajesh Deshpande 2019-06-24 12:03:55 +05:30 committed by Kubernetes Prow Robot
parent 0a835fc032
commit 2fb8128b30
1 changed files with 3 additions and 3 deletions

View File

@ -65,13 +65,13 @@ Kubernetes starts with three initial namespaces:
### Setting the namespace for a request
To temporarily set the namespace for a request, use the `--namespace` flag.
To set the namespace for a current request, use the `--namespace` flag.
For example:
```shell
kubectl --namespace=<insert-namespace-name-here> run nginx --image=nginx
kubectl --namespace=<insert-namespace-name-here> get pods
kubectl run nginx --image=nginx --namespace=<insert-namespace-name-here>
kubectl get pods --namespace=<insert-namespace-name-here>
```
### Setting the namespace preference