Difference between revisions of "Kubectl config get-contexts"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
user@[email protected].[[eksctl.io]] | user@[email protected].[[eksctl.io]] | ||
− | + | == Related == | |
[[kubectl config set-context]] | [[kubectl config set-context]] | ||
[[kubectl config use-context]] | [[kubectl config use-context]] | ||
− | |||
− | |||
* <code>[[argocd login]] localhost:8080</code> | * <code>[[argocd login]] localhost:8080</code> | ||
* <code>[[eksctl.io]]</code> | * <code>[[eksctl.io]]</code> |
Revision as of 10:33, 8 July 2022
kubectl config get-contexts -o name
kubectl config get-contexts CURRENT NAME CLUSTER AUTHINFO NAMESPACE * [email protected]@YOUR_CLUSTER.eu-central-1.eksctl.io CLUSTER.eu-central-1.eksctl.io [email protected]@YOUR_CLUSTER.eu-central-1.eksctl.io
kubectl config get-contexts -o name gke_myproject-o_europe-west3-b_cluster_name user@[email protected].eksctl.io
Related
kubectl config set-context kubectl config use-context
argocd login localhost:8080
eksctl.io
See also
- 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: