Difference between revisions of "Kubectl config get-contexts"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
 
== Related ==
 
== Related ==
[[kubectl config set-context]]
+
* <code>[[kubectl config set-context]]</code>
[[kubectl config use-context]]
+
* <code>[[kubectl config use-context]]</code>
 
* <code>[[argocd login]] localhost:8080</code>
 
* <code>[[argocd login]] localhost:8080</code>
 
* <code>[[eksctl.io]]</code>
 
* <code>[[eksctl.io]]</code>
 
* <code>[[kubectx]]</code>
 
* <code>[[kubectx]]</code>
 +
* [[Merge multiple kubeconfigs]]
  
 
== See also ==
 
== See also ==

Revision as of 09:49, 12 January 2024

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

See also

Advertising: