Difference between revisions of "--namespace"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* [[Helm]]: <code>[[helm install --namespace]]</code> | * [[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 == | == Related == | ||
* <code>[[kubectx]]</code> | * <code>[[kubectx]]</code> | ||
* <code>[[--create-namespace]]</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: