From e3e41a21c16b158b1985d25a83c3888d3cc85df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E5=A4=9C?= <70data@gmail.com> Date: Sun, 5 May 2019 08:05:37 +0800 Subject: [PATCH] Fix func name PodResourcesLister (#14085) * Fix func name PodResourcesLister The func PodResources is change to PodResourcesLister. See this https://github.com/kubernetes/kubernetes/blob/release-1.14/pkg/kubelet/apis/podresources/v1alpha1/api.proto#L19 Please check. * Update device-plugins.md --- .../extend-kubernetes/compute-storage-net/device-plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md index a75921ae24..465de1877d 100644 --- a/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md +++ b/content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md @@ -148,9 +148,9 @@ The kubelet provides a gRPC service to enable discovery of in-use devices, and t for these devices: ```gRPC -// PodResources is a service provided by the kubelet that provides information about the +// PodResourcesLister is a service provided by the kubelet that provides information about the // node resources consumed by pods and containers on the node -service PodResources { +service PodResourcesLister { rpc List(ListPodResourcesRequest) returns (ListPodResourcesResponse) {} } ```