1. Metric Server介绍
Metric Server 用于实现Kubernetes的资源指标监控
2. 安装
curl https://gitee.com/Liyuan-1/k8s-workshop/raw/master/metrics-server.yaml | kubectl apply -f -
3.开始使用
kubectl get po -n kube-system
kubectl top node
kubectl top pod
kubectl get apiservice
kubectl get --raw /apis/metrics.k8s.io/v1beta1
![在这里插入图片描述](https://img-blog.csdnimg.cn/44c6e34bc00342e4bd6a2d91d2b78e87.png)