Change the indicator resource endpoint from the old version of Summar… (#41708)

* 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 <tengqm@outlook.com>

* Update resource-metrics-pipeline.md

* Update resource-metrics-pipeline.md

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
pull/42352/head
noble 2023-08-02 16:40:09 +08:00 committed by GitHub
parent 21a1e6dbe1
commit 7b89f07ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ P[Pod 数据] -.- C
end end
L[API<br>服务器] L[API<br>服务器]
W[HPA] W[HPA]
C ---->|Summary<br>API| A -->|metrics<br>API| L --> W C ---->|节点层面<br>资源指标| A -->|metrics<br>API| L --> W
end end
L ---> K[kubectl<br>top] L ---> K[kubectl<br>top]
classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000; 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 * [kubelet](/docs/concepts/overview/components/#kubelet): Node agent for managing container
resources. Resource metrics are accessible using the `/metrics/resource` and `/stats` kubelet resources. Resource metrics are accessible using the `/metrics/resource` and `/stats` kubelet
API endpoints. API endpoints.
* [Summary API](#summary-api-source): API provided by the kubelet for discovering and retrieving * [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 `/stats` endpoint. per-node summarized stats available through the `/metrics/resource` endpoint.
* [metrics-server](#metrics-server): Cluster addon component that collects and aggregates resource * [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 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. 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 中包含的容器指标的守护程序。 * [cAdvisor](https://github.com/google/cadvisor): 用于收集、聚合和公开 Kubelet 中包含的容器指标的守护程序。
* [kubelet](/zh-cn/docs/concepts/overview/components/#kubelet): 用于管理容器资源的节点代理。 * [kubelet](/zh-cn/docs/concepts/overview/components/#kubelet): 用于管理容器资源的节点代理。
可以使用 `/metrics/resource``/stats` kubelet API 端点访问资源指标。 可以使用 `/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 中提取的资源指标。 * [metrics-server](#metrics-server): 集群插件组件,用于收集和聚合从每个 kubelet 中提取的资源指标。
API 服务器提供 Metrics API 以供 HPA、VPA 和 `kubectl top` 命令使用。Metrics Server 是 Metrics API 的参考实现。 API 服务器提供 Metrics API 以供 HPA、VPA 和 `kubectl top` 命令使用。Metrics Server 是 Metrics API 的参考实现。
* [Metrics API](#metrics-api): Kubernetes API 支持访问用于工作负载自动缩放的 CPU 和内存。 * [Metrics API](#metrics-api): Kubernetes API 支持访问用于工作负载自动缩放的 CPU 和内存。