Difference between revisions of "--context"
Jump to navigation
Jump to search
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | kubectl | + | kubectl AnyCommand --context [[your-cluster-name]] |
− | + | == Related == | |
− | + | * <code>[[kubectl --help]]</code> | |
+ | * <code>[[kubectx]]</code> | ||
+ | [[docker context]] | ||
== See also == | == See also == |
Latest revision as of 11:21, 10 January 2023
kubectl AnyCommand --context your-cluster-name
Related[edit]
docker context
See also[edit]
kubectl config
[view | get-contexts | current-context | get-clusters | set-context | set-credentials ], ~/.kube/config, kubectl config --help
,kubectx
, Kubernetes contexts,KUBECONFIG, kubectl --kubeconfig
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: