@@ -66,31 +66,20 @@ kubelet endpoint, and not `/stats/summary`.
6666## Summary metrics API source {#summary-api-source}
6767
6868By default, Kubernetes fetches node summary metrics data using an embedded
69- [cAdvisor](https://github.com/google/cadvisor) that runs within the kubelet.
70-
71- ## Summary API data via CRI {#pod-and-container-stats-from-cri}
69+ [cAdvisor](https://github.com/google/cadvisor) that runs within the kubelet. If you
70+ enable the `PodAndContainerStatsFromCRI` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
71+ in your cluster, and you use a container runtime that supports statistics access via
72+ {{< glossary_tooltip term_id="cri" text="Container Runtime Interface">}} (CRI), then
73+ the kubelet [fetches Pod- and container-level metric data using CRI](/docs/reference/instrumentation/cri-pod-container-metrics), and not via cAdvisor.
7274-->
7375## 概要指标 API 源 {#summary-api-source}
7476
7577默认情况下,Kubernetes 使用 kubelet 内运行的嵌入式 [ cAdvisor] ( https://github.com/google/cadvisor )
76- 获取节点概要指标数据。
77-
78- ## 通过 CRI 获得概要 API 数据 {#pod-and-container-stats-from-cri}
79-
80- {{< feature-state for_k8s_version="v1.23" state="alpha" >}}
81-
82- <!--
83- If you enable the `PodAndContainerStatsFromCRI`
84- [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) in your
85- cluster, and you use a container runtime that supports statistics access via
86- {{< glossary_tooltip term_id="cri" text="Container Runtime Interface">}} (CRI), then
87- the kubelet fetches Pod- and container-level metric data using CRI, and not via cAdvisor.
88- -->
89- 如果你在自己的集群中启用 ` PodAndContainerStatsFromCRI `
78+ 获取节点概要指标数据。如果你在自己的集群中启用 ` PodAndContainerStatsFromCRI `
9079[ 特性门控] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) ,
9180且你通过{{< glossary_tooltip term_id="cri" text="容器运行时接口">}} (CRI) 使用支持统计访问的容器运行时,
92- 则 kubelet 将使用 CRI 而不是 cAdvisor 来获取 Pod 和容器级别的指标数据。
93-
81+ 则 kubelet [ 将使用 CRI 来获取 Pod 和容器级别的指标数据] ( /zh-cn/docs/reference/instrumentation/cri-pod-container-metrics ) ,
82+ 而不是 cAdvisor 来获取。
9483## {{% heading "whatsnext" %}}
9584
9685<!--
0 commit comments