This PR makes the NodePrepareResources() and NodeUnprepareResource() calls of the kubeletplugin API for DynamicResourceAllocation symmetrical. It wasn't clear how one would use the set of CDIDevices passed back in the NodeUnprepareResource() of the v1alpha1 API, and the new API now passes back the full ResourceHandle that was originally passed to the Prepare() call. Passing the ResourceHandle is strictly more informative and a plugin could always (re)derive the set of CDIDevice from it. This is a breaking change, but this release is scheduled to break multiple APIs for DynamicResourceAllocation, so it makes sense to do this now instead of later. Signed-off-by: Kevin Klues <kklues@nvidia.com> Kubernetes-commit: 579295e727a12deadad9e084ff8efd2708707091 |
||
---|---|---|
.. | ||
credentialprovider | ||
deviceplugin | ||
dra | ||
pluginregistration | ||
podresources | ||
stats/v1alpha1 | ||
well_known_labels.go |