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

在这里插入图片描述

Logo

一站式 AI 云服务平台

更多推荐