From 7b89f07ea863f165aba6ce33dc8ff2eab03a282e Mon Sep 17 00:00:00 2001 From: noble <89509776+MorningSunKing@users.noreply.github.com> Date: Wed, 2 Aug 2023 16:40:09 +0800 Subject: [PATCH] =?UTF-8?q?Change=20the=20indicator=20resource=20endpoint?= =?UTF-8?q?=20from=20the=20old=20version=20of=20Summar=E2=80=A6=20(#41708)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Change the indicator resource endpoint from the old version of Summary API to metrics resource * Update resource-metrics-pipeline.md * Update resource-metrics-pipeline.md * Update content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md Co-authored-by: Qiming Teng * Update resource-metrics-pipeline.md * Update resource-metrics-pipeline.md --------- Co-authored-by: Qiming Teng --- .../debug/debug-cluster/resource-metrics-pipeline.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md b/content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md index 0356a5cb33..7050bea37d 100644 --- a/content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md +++ b/content/zh-cn/docs/tasks/debug/debug-cluster/resource-metrics-pipeline.md @@ -76,7 +76,7 @@ P[Pod 数据] -.- C end L[API
服务器] W[HPA] -C ---->|Summary
API| A -->|metrics
API| L --> W +C ---->|节点层面
资源指标| A -->|metrics
API| L --> W end L ---> K[kubectl
top] classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; @@ -97,8 +97,8 @@ The architecture components, from right to left in the figure, consist of the fo * [kubelet](/docs/concepts/overview/components/#kubelet): Node agent for managing container resources. Resource metrics are accessible using the `/metrics/resource` and `/stats` kubelet API endpoints. -* [Summary API](#summary-api-source): API provided by the kubelet for discovering and retrieving - per-node summarized stats available through the `/stats` endpoint. +* [node level resource metrics](/docs/reference/instrumentation/node-metrics): API provided by the kubelet for discovering and retrieving + per-node summarized stats available through the `/metrics/resource` endpoint. * [metrics-server](#metrics-server): Cluster addon component that collects and aggregates resource metrics pulled from each kubelet. The API server serves Metrics API for use by HPA, VPA, and by the `kubectl top` command. Metrics Server is a reference implementation of the Metrics API. @@ -113,7 +113,7 @@ The architecture components, from right to left in the figure, consist of the fo * [cAdvisor](https://github.com/google/cadvisor): 用于收集、聚合和公开 Kubelet 中包含的容器指标的守护程序。 * [kubelet](/zh-cn/docs/concepts/overview/components/#kubelet): 用于管理容器资源的节点代理。 可以使用 `/metrics/resource` 和 `/stats` kubelet API 端点访问资源指标。 -* [Summary API](#summary-api-source): kubelet 提供的 API,用于发现和检索可通过 `/stats` 端点获得的每个节点的汇总统计信息。 +* [节点层面资源指标](/zh-cn/docs/reference/instrumentation/node-metrics): kubelet 提供的 API,用于发现和检索可通过 `/metrics/resource` 端点获得的每个节点的汇总统计信息。 * [metrics-server](#metrics-server): 集群插件组件,用于收集和聚合从每个 kubelet 中提取的资源指标。 API 服务器提供 Metrics API 以供 HPA、VPA 和 `kubectl top` 命令使用。Metrics Server 是 Metrics API 的参考实现。 * [Metrics API](#metrics-api): Kubernetes API 支持访问用于工作负载自动缩放的 CPU 和内存。