Difference between revisions of "Kubectl top"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* <code>[[kubectl]] top</code>
+
<code>kubectl top</code> uses [[Metric server]] to display information about K8s.
 +
* https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top
 +
 
 +
<code>[[kubectl]] top</code>
 
  [[kubectl top node]]
 
  [[kubectl top node]]
 
  [[kubectl top pod]]
 
  [[kubectl top pod]]
* <code>[[kubectl top --help]]</code>
+
[[kubectl top pod -A]]
 +
[[kubectl top --help]]
 
* Ref: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top
 
* Ref: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top
  
Line 10: Line 14:
  
 
  kubectl top pod
 
  kubectl top pod
  Error from server ([[ServiceUnavailable]]): the server is currently unable to handle the request (get pods.metrics.k8s.io)
+
  Error from server ([[ServiceUnavailable]]): the server is currently unable to handle the request (get [[pods.metrics.k8s.io]])
  
 
  kubectl top node
 
  kubectl top node
Line 20: Line 24:
  
 
== Related terms ==
 
== Related terms ==
 +
* [[K9s]], [[Lens]]
 
* <code>[[docker top]]</code>
 
* <code>[[docker top]]</code>
 
* <code>[[docker stats]]</code>
 
* <code>[[docker stats]]</code>
Line 25: Line 30:
 
* <code>[[kubectl top pod]] POD_NAME</code>
 
* <code>[[kubectl top pod]] POD_NAME</code>
 
* <code>[[kubectl logs]]</code>
 
* <code>[[kubectl logs]]</code>
 +
* <code>[[kubectl get events]]</code>
 
* [[CKA]]: [[Understand how to monitor applications in Kubernetes]]
 
* [[CKA]]: [[Understand how to monitor applications in Kubernetes]]
* [[Horizontal Pod Autoscaler]]
+
* [[Horizontal Pod Autoscaler (HPA)]]
 
* [[Kubernetes API]]
 
* [[Kubernetes API]]
 +
* [[Kubernetes Metrics Server]]
 +
* <code>[[FailedScheduling .../... Insufficient cpu]]</code>
  
 
== See also ==
 
== See also ==
 
* {{kubectl top}}
 
* {{kubectl top}}
 
* {{top}}
 
* {{top}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 17:48, 28 February 2024

Advertising: