Editing Kubectl cluster-info

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
+
  kubectl cluster-info
[[kubectl cluster-info]]
+
  Kubernetes master is running at https://127.0.0.1:55000
kubectl cluster-info | grep "Kubernetes control plane"
 
[[kubectl cluster-info --context]]
 
[[kubectl cluster-info --help]]
 
[[kubectl cluster-info dump]]
 
 
 
== Examples ==
 
[[kubectl]] cluster-info
 
[[Kubernetes control plane]] is running at https://127.0.0.1:62581
 
[[CoreDNS]] is running at https://127.0.0.1:62581/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 
 
To further debug and diagnose cluster problems, use '[[kubectl cluster-info dump]]'.
 
 
 
 
 
  [[kubectl]] cluster-info
 
  [[Kubernetes master]] is running at https://127.0.0.1:55000
 
 
  [[KubeDNS]] is running at https://127.0.0.1:55000/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 
  [[KubeDNS]] is running at https://127.0.0.1:55000/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 
   
 
   
  To further debug and diagnose cluster problems, use '[[kubectl cluster-info dump]]'.
+
  To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
  
  
Line 32: Line 17:
 
  To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
 
  To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
  
== [[EKS]] ==
 
[[kubectl]] cluster-info
 
[[Kubernetes control plane]] is running at https://5E39D5104example0BB2E658.gr7.us-east-2.eks.amazonaws.com
 
CoreDNS is running at https://7739D904example5C07D43CBB2E699.gr7.us-east-2.eks.amazonaws.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 
 
To further debug and diagnose cluster problems, use '[[kubectl cluster-info dump]]'.
 
 
 
kubectl cluster-info
 
 
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
 
Unable to connect to the server: dial tcp: lookup XXXXXXZZZZZYYYYY.gr7.us-east-2.eks.amazonaws.com: no such host
 
 
== GKS ==
 
kubectl cluster-info
 
[[W0704]] 13:23:33.066839  90028 gcp.go:120] WARNING: the [[gcp auth plugin]] is deprecated in v1.22+, unavailable in v1.25+; use [[gcloud]] instead.
 
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
 
 
To further debug and diagnose cluster problems, use '[[kubectl cluster-info dump]]'.
 
Error from server (Forbidden): services is forbidden: User "[email protected]" cannot list resource  "services" in API group "" in the namespace "[[kube-system]]": requires one of ["container.services.list"] permission(s).
 
 
 
== [[Minikube]] ==
 
kubectl cluster-info
 
Kubernetes control plane is running at https://127.0.0.1:[[53438]]
 
[[CoreDNS]] is running at https://127.0.0.1:53438/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 
 
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
 
  
== Related ==
+
== Related commands ==
* <code>[[kubectl cluster-info dump]]</code>
+
* <code>[[kubectl cluster-info]]</code>
* <code>[[kubectl get api-resources]]</code>
 
* <code>[[kubectl config view]]</code>
 
 
* <code>[[kubectl version]]</code>
 
* <code>[[kubectl version]]</code>
* <code>[[kubectl get all -A]]</code>
 
* [[Default EKS installation]]
 
* [[Kubernetes API]]
 
* <code>[[cluster_endpoint_public_access]]</code> in [[EKS module]]
 
  
 
== See also ==
 
== See also ==
* {{kubectl cluster-info}}
 
* {{kubectl config}}
 
 
* {{kubectl info}}
 
* {{kubectl info}}
 +
* {{kubectl}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: