kubectl top
See the resource consumption for nodes or pods. More information: https://kubernetes.io/docs/reference/kubectl/generated/kubectl_top/.
- Get the resource consumption of all nodes:
kubectl top
- Get resource consumption of a specific node:
kubectl top
- Get resource consumption of all pods:
kubectl top
- Get resource consumption of a specific pod:
kubectl top
- Get resource consumption of all pods in a namespace:
kubectl top
- Get resource consumption of all containers in a pod:
kubectl top --containers
- Get resource consumption of all pods with the specified label:
kubectl top
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
