Difference between revisions of "Kubectl config"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[kubectl config view]]</code> | * <code>[[kubectl config view]]</code> | ||
* <code>[[kubectl config get-context]]</code> | * <code>[[kubectl config get-context]]</code> | ||
+ | * <code>[[kubectl config set-context]]</code> | ||
* <code>[[kubectl config current-context]]</code> | * <code>[[kubectl config current-context]]</code> | ||
* <code>[[kubectl config use-context]]</code> | * <code>[[kubectl config use-context]]</code> |
Revision as of 21:09, 4 December 2021
kubectl config view
kubectl config get-context
kubectl config set-context
kubectl config current-context
kubectl config use-context
See also
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: