Merge pull request #102829 from snowplayfire/update-devicemanager

Add resource capacity to ListAndWatch grpc logging
This commit is contained in:
Kubernetes Prow Robot 2021-06-21 16:28:09 -07:00 committed by GitHub
commit 3bd29bc53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ func (e *endpointImpl) run() {
}
devs := response.Devices
klog.V(2).InfoS("State pushed for device plugin", "resourceName", e.resourceName)
klog.V(2).InfoS("State pushed for device plugin", "resourceName", e.resourceName, "resourceCapacity", len(devs))
var newDevs []pluginapi.Device
for _, d := range devs {