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

Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
Ismail Alidzhikov
2019-07-02 18:09:09 +03:00
committed by Kubernetes Prow Robot
parent f34ad033b8
commit b692fddd32
4 changed files with 4 additions and 4 deletions
@@ -67,7 +67,7 @@ kubectl --namespace=<insert-namespace-name-here> get pods
Kamu dapat menyimpan konfigurasi *namespace* untuk semua perintah `kubectl` dengan perintah:
```shell
kubectl config set-context $(kubectl config current-context) --namespace=<insert-namespace-name-here>
kubectl config set-context --current --namespace=<insert-namespace-name-here>
# Cek namespace
kubectl config view | grep namespace:
```