这里需要用到metrics,需要部署metrics-server
Last updated 4 years ago
Was this helpful?
组件
版本
metrics-server
0.4.1
官方GitHub
https://github.com/kubernetes-sigs/metrics-server
components.yaml
kubectl apply -f components.yaml
kubectl top pods -A
kubectl top nodes