Metrics Server
更新时间:2025-07-14 07:26:00
Metrics Server 是一个可扩展、高效的容器资源度量源,为 Kubernetes 内置的自动扩展管道提供服务。
Metrics Server 从 Kubelet 收集资源指标,并通过 Metrics API 在 Kubernetes apiserver 中公开它们,供 Horizontal Pod Autoscaler 和 Vertical Pod Autoscaler 使用。
Metrics Server 可实现如下功能:
-
基于 CPU/内存的水平自动缩放(了解更多关于 Horizontal Autoscaling)
-
自动调整/建议容器所需的资源(了解更多关于 Vertical Autoscaling)
说明 |
---|
有关组件的更多信息,请参阅扩展中心 Metrics Server 扩展组件的详情页说明。 |