kubeletplugin: clarify DRAPlugin comment about driver-specific claims

Clarify that PrepareResourceClaims is called with only the claims
handled by this DRA driver, not all claims needed by the pod.

Signed-off-by: Nitish Bhat <bhatnitish@gmail.com>
This commit is contained in:
Nitish Bhat
2025-10-29 17:48:55 +00:00
parent 412bfec7a1
commit c9825b8d27

View File

@@ -58,8 +58,8 @@ type DRAPlugin interface {
// for the given ResourceClaims. This is used to implement
// the gRPC NodePrepareResources call.
//
// It gets called with the complete list of claims that are needed
// by some pod. In contrast to the gRPC call, the helper has
// It gets called with the complete list of claims handled by this DRA driver
// that are needed by some pod. In contrast to the gRPC call, the helper has
// already retrieved the actual ResourceClaim objects.
//
// In addition to that, the helper also: