Difference between revisions of "Kubectl config use-context"
Jump to navigation
Jump to search
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | [[kubectl config use-context]] | |
− | + | kubectl config use-context [[your-context]] | |
− | |||
− | |||
* <code>[[kubectl config --help]]</code> | * <code>[[kubectl config --help]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl config get-contexts]]</code> | ||
+ | * <code>[[kubectx]]</code> | ||
+ | * [[Kubernetes context]] | ||
== See also == | == See also == | ||
* {{kubectl config context}} | * {{kubectl config context}} | ||
* {{kubectl config}} | * {{kubectl config}} | ||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 09:59, 6 October 2023
kubectl config use-context kubectl config use-context your-context
Related[edit]
See also[edit]
- Kubernetes context:
kubectl config [ get-contexts | set-context | current-context | use-context ]
,~/.kube/config, kubectx
kubectl config
[view | get-contexts | current-context | get-clusters | set-context | set-credentials ], ~/.kube/config, kubectl config --help
,kubectx
, Kubernetes contexts,KUBECONFIG, kubectl --kubeconfig
Advertising: