Difference between revisions of "--namespace"
Jump to navigation
Jump to search
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | + | * [[Helm]]: <code>[[helm install --namespace]]</code> | |
+ | |||
+ | <code>[[kubectl]]</code>: | ||
+ | * <code>[[kubectl config set-context --current]] --namespace=yournamespace</code> | ||
+ | * <code>[[kubectl --namespace]] monitoring [[get pods]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectx]]</code> | ||
+ | * <code>[[--create-namespace]]</code> | ||
+ | * <code>[[Error: 0m Error: ERROR waiting for namespace]]</code> | ||
== See also == | == See also == |
Latest revision as of 12:55, 19 January 2024
kubectl config set-context --current --namespace=yournamespace
kubectl --namespace monitoring get pods
Related[edit]
See also[edit]
Advertising: