Difference between revisions of "Kubectl config get-contexts"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
  kubectl config get-contexts
 
  kubectl config get-contexts
  CURRENT  NAME                                                  CLUSTER                          AUTHINFO                                  
+
  CURRENT  NAME                                                  CLUSTER                          AUTHINFO                             NAMESPACE
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]]
 
  *        [email protected]@YOUR_CLUSTER.eu-central-1.[[eksctl.io]]  CLUSTER.eu-central-1.eksctl.io  [email protected]@YOUR_CLUSTER.eu-central-1.[[eksctl.io]]
  

Revision as of 11:42, 28 June 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 set-context
kubectl config use-context

Related

argocd login localhost:8080

See also

Advertising: