Difference between revisions of "Kubectl config use-context"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | [[kubectl config use-context]] | |
kubectl config use-context [[your-context]] | kubectl config use-context [[your-context]] | ||
Line 9: | Line 9: | ||
== Related == | == Related == | ||
* <code>[[kubectl config get-contexts]]</code> | * <code>[[kubectl config get-contexts]]</code> | ||
+ | * <code>[[kubectx]]</code> | ||
+ | * [[Kubernetes context]] | ||
== See also == | == See also == |
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: