Skip to content

Commit 5d78524

Browse files
authored
Merge pull request #38687 from gaogao101/work65
[zh-cn] sync memory-manager.md
2 parents 26fb1fe + 3f55ff6 commit 5d78524

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/zh-cn/docs/tasks/administer-cluster/memory-manager.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -772,14 +772,17 @@ by using `--reserved-memory` flag.
772772
<!--
773773
### Device plugin resource API
774774

775-
By employing the [API](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/),
776-
the information about reserved memory for each container can be retrieved, which is contained
775+
The kubelet provides a `PodResourceLister` gRPC service to enable discovery of resources and associated metadata.
776+
By using its [List gRPC endpoint](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#grpc-endpoint-list),
777+
information about reserved memory for each container can be retrieved, which is contained
777778
in protobuf `ContainerMemory` message.
778-
This information can be retrieved solely for pods in Guaranteed QoS class.
779+
This information can be retrieved solely for pods in Guaranteed QoS class.
779780
-->
780781
### 设备插件资源 API {#device-plugin-resource-api}
781782

782-
通过使用此 [API](/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/),
783+
kubelet 提供了一个 `PodResourceLister` gRPC 服务来启用对资源和相关元数据的检测。
784+
通过使用它的
785+
[List gRPC 端点](/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#grpc-endpoint-list),
783786
可以获得每个容器的预留内存信息,该信息位于 protobuf 协议的 `ContainerMemory` 消息中。
784787
只能针对 Guaranteed QoS 类中的 Pod 来检索此信息。
785788

0 commit comments

Comments
 (0)