Difference between revisions of "Kubectl top"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
<code>kubectl top</code> uses [[Metric server]] to display information about K8s.
 
* https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top
 
* https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#top
  
 
  <code>[[kubectl]] top</code>
 
  <code>[[kubectl]] top</code>
<code>[[kubectl top -A]]</code>
 
 
 
  [[kubectl top node]]
 
  [[kubectl top node]]
 
  [[kubectl top pod]]
 
  [[kubectl top pod]]
 +
[[kubectl top pod -A]]
 
  [[kubectl top --help]]
 
  [[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 14: 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 35: Line 35:
 
* [[Kubernetes API]]
 
* [[Kubernetes API]]
 
* [[Kubernetes Metrics Server]]
 
* [[Kubernetes Metrics Server]]
 +
* <code>[[FailedScheduling .../... Insufficient cpu]]</code>
  
 
== See also ==
 
== See also ==
 
* {{kubectl top}}
 
* {{kubectl top}}
* {{Kubernetes autoscaling}}
 
 
* {{top}}
 
* {{top}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 17:48, 28 February 2024

Advertising: