Difference between revisions of "Kubectl config get-contexts"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
[[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]]
  
[[kubectl config]] get-contexts -o name
+
== Activites ==
 +
* [[Merge multiple kubeconfigs]]
 +
* [[Creating or updating a kubeconfig file for an Amazon EKS cluster]] <code>[[aws eks update-kubeconfig]]</code>
  
 +
== Related ==
 +
* <code>[[kubectl config set-context]]</code>
 +
* <code>[[kubectl config use-context]]</code>
 +
* <code>[[argocd login]] localhost:8080</code>
 +
* <code>[[eksctl.io]]</code>
 +
* <code>[[kubectx]]</code>
 +
* <code>[[kubectl config current-context]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{kubectl config context}}
 
* {{kubectl config}}
 
* {{kubectl config}}
* {{kubectl}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 10:52, 26 February 2024

Advertising: