mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
update metrics guide
Signed-off-by: zhuxiujuan28 <562873187@qq.com>
This commit is contained in:
parent
4dbb76c25d
commit
3b933f1e4f
|
|
@ -9,10 +9,13 @@ layout: "second"
|
|||
|
||||
Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
|
||||
|
||||
Metrics Server collects resource metrics from Kubelets and exposes them in Kubernetes apiserver through [Metrics API](https://github.com/kubernetes/metrics)
|
||||
for use by [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) and [Vertical Pod Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/).
|
||||
|
||||
You can use Metrics Server for:
|
||||
|
||||
* CPU/Memory based horizontal autoscaling (link:https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/[Horizontal Autoscaling])
|
||||
* Automatically adjusting/suggesting resources needed by containers (link:https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/[Vertical Autoscaling])
|
||||
- CPU/Memory based horizontal autoscaling (learn more about [Horizontal Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/))
|
||||
- Automatically adjusting/suggesting resources needed by containers (learn more about [Vertical Autoscaling](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/))
|
||||
|
||||
[.admon.note,cols="a"]
|
||||
|===
|
||||
|
|
|
|||
|
|
@ -9,10 +9,12 @@ layout: "second"
|
|||
|
||||
Metrics Server 是一个可扩展、高效的容器资源度量源,为 Kubernetes 内置的自动扩展管道提供服务。
|
||||
|
||||
Metrics Server 从 Kubelet 收集资源指标,并通过 [Metrics API](https://github.com/kubernetes/metrics) 在 Kubernetes apiserver 中公开它们,供 [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) 和 [Vertical Pod Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/) 使用。
|
||||
|
||||
Metrics Server 可实现如下功能:
|
||||
|
||||
* 基于 CPU/内存的水平自动缩放(link:https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/[Horizontal Autoscaling])
|
||||
* 自动调整/建议容器所需的资源(link:https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/[Vertical Autoscaling])
|
||||
- 基于 CPU/内存的水平自动缩放(了解更多关于 [Horizontal Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/))
|
||||
- 自动调整/建议容器所需的资源(了解更多关于 [Vertical Autoscaling](https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler/))
|
||||
|
||||
|
||||
[.admon.note,cols="a"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue