kubectl config set-context --current (#15194)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f34ad033b8
commit
b692fddd32
@@ -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:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user