Difference between revisions of "--namespace"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | * <code>[[kubectl config set-context --current]] --namespace=yournamespace</code> | + | * [[Helm]]: <code>[[helm install --namespace]]</code> |
+ | |||
+ | * <code>[[kubectl]]</code>: <code>[[kubectl config set-context --current]] --namespace=yournamespace</code> | ||
[[kubectl --namespace]] monitoring [[get pods]] | [[kubectl --namespace]] monitoring [[get pods]] | ||
Revision as of 14:30, 31 January 2023
kubectl
:kubectl config set-context --current --namespace=yournamespace
kubectl --namespace monitoring get pods
Related
See also
Advertising: