Difference between revisions of "Kubectl top"
Jump to navigation
Jump to search
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 | ||
Revision as of 16:11, 22 November 2022
kubectl top
uses Metric server to display information about K8s.
kubectl top
kubectl top -A
kubectl top node kubectl top pod kubectl top --help
kubectl top pod error: Metrics API not available
kubectl top pod Error from server (ServiceUnavailable): the server is currently unable to handle the request (get pods.metrics.k8s.io)
kubectl top node error: Metrics API not available
kubectl top node Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)
Related terms
- K9s, Lens
docker top
docker stats
kubectl get pods
kubectl top pod POD_NAME
kubectl logs
kubectl get events
- CKA: Understand how to monitor applications in Kubernetes
- Horizontal Pod Autoscaler (HPA)
- Kubernetes API
- Kubernetes Metrics Server
See also
kubectl top [ node | pod ], nodes.metrics.k8s.io, metrics-server
- Kubernetes autoscaling, HPA, VPA, Karpenter, Kubernetes Autoscaler,
kubectl autoscale
, Kubernetes Metrics Server (KMS) top
,ntop
,htop
,atop
,iotop
,systemd-cgtop
,virt-top
,stress
,slabtop
,docker stats
,docker top
,docker container top
,docker-compose top
,nmon
,tload
,kubectl top pod PODNAME
,sar
,kubectl top
,glances
,vmstat, gpustat, asitop
Advertising: