Skip to content

Commit 7ab1bf2

Browse files
authored
[zh] synchronize translate resource-metrics-pipeline.md (#31099)
* [zh] synchronize translate resource-metrics-pipeline.md * [zh] fix resource-metrics-pipeline.md english spelling error
1 parent d82e8aa commit 7ab1bf2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

content/zh/docs/tasks/debug-application-cluster/resource-metrics-pipeline.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,27 @@ Learn more about the metrics server in
140140
[设计文档](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/instrumentation/metrics-server.md)
141141
中可以了解到有关 Metrics 服务器的更多信息。
142142

143+
<!--
144+
### Summary API Source
145+
146+
The [Kubelet](/docs/reference/command-line-tools-reference/kubelet/) gathers stats at node, volume, pod and container level, and emits
147+
them in the [Summary API](https://github.com/kubernetes/kubernetes/blob/7d309e0104fedb57280b261e5677d919cb2a0e2d/staging/src/k8s.io/kubelet/pkg/apis/stats/v1alpha1/types.go)
148+
for consumers to read.
149+
-->
150+
151+
### 摘要 API 来源
152+
153+
[Kubelet](/zh/docs/reference/command-line-tools-reference/kubelet/) 在节点、卷、pod 和容器级别收集统计信息,
154+
并在[摘要API](https://github.com/kubernetes/kubernetes/blob/7d309e0104fedb57280b261e5677d919cb2a0e2d/staging/src/k8s.io/kubelet/pkg/apis/stats/v1alpha1/types.go)
155+
中提供它们的统计信息供消费者阅读。
156+
157+
<!--
158+
Pre-1.23, these resources have been primarily gathered from [cAdvisor](https://github.com/google/cadvisor). However, in 1.23 with the
159+
introduction of the `PodAndContainerStatsFromCRI` FeatureGate, container and pod level stats can be gathered by the CRI implementation.
160+
Note: this also requires support from the CRI implementations (containerd >= 1.6.0, CRI-O >= 1.23.0).
161+
-->
162+
163+
在 1.23 版本前,这些资源主要来自 [cAdvisor](https://github.com/google/cadvisor)。但在 1.23 版本中
164+
引入了 `PodAndContainerStatsFromCRI` FeatureGate,
165+
CRI 实现了可以收集容器和 pod 级别的统计信息。
166+
注意:这需要 CRI 实现的支持(containerd >= 1.6.0,CRI-O >= 1.23.0)。

0 commit comments

Comments
 (0)