kubernetes/test/e2e/dra/test-driver/app
Kevin Klues 579295e727 Update kubeletplugin API for DynamicResourceAllocation to v1alpha2
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>
2023-03-14 23:09:44 +00:00
..
cdi.go
controller.go Update e2e tests for recent changes to resource.k8s.io/v1alpha2 2023-03-14 22:34:19 +00:00
kubeletplugin.go Update kubeletplugin API for DynamicResourceAllocation to v1alpha2 2023-03-14 23:09:44 +00:00
server.go sync default qps of kubelet change 2023-03-08 14:04:51 +08:00