File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
content/zh-cn/docs/reference/instrumentation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -69,17 +69,18 @@ By default, Kubernetes fetches node summary metrics data using an embedded
6969[cAdvisor](https://github.com/google/cadvisor) that runs within the kubelet. If you
7070enable the `PodAndContainerStatsFromCRI` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
7171in 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
72+ {{< glossary_tooltip term_id="container-runtime-interface " text="Container Runtime Interface">}} (CRI), then
7373the kubelet [fetches Pod- and container-level metric data using CRI](/docs/reference/instrumentation/cri-pod-container-metrics), and not via cAdvisor.
7474-->
7575## 概要指标 API 源 {#summary-api-source}
7676
7777默认情况下,Kubernetes 使用 kubelet 内运行的嵌入式 [ cAdvisor] ( https://github.com/google/cadvisor )
7878获取节点概要指标数据。如果你在自己的集群中启用 ` PodAndContainerStatsFromCRI `
7979[ 特性门控] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) ,
80- 且你通过{{< glossary_tooltip term_id="cri " text="容器运行时接口">}} ( CRI) 使用支持统计访问的容器运行时,
80+ 且你通过{{< glossary_tooltip term_id="container-runtime-interface " text="容器运行时接口">}}( CRI) 使用支持统计访问的容器运行时,
8181则 kubelet [ 将使用 CRI 来获取 Pod 和容器级别的指标数据] ( /zh-cn/docs/reference/instrumentation/cri-pod-container-metrics ) ,
8282而不是 cAdvisor 来获取。
83+
8384## {{% heading "whatsnext" %}}
8485
8586<!--
You can’t perform that action at this time.
0 commit comments