kubelet/pkg/apis
Kevin Klues 704590723f 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>

Kubernetes-commit: 579295e727a12deadad9e084ff8efd2708707091
2023-03-13 21:38:56 +00:00
..
credentialprovider Adding files generated from running make generate and update commands 2022-09-07 21:35:46 +00:00
deviceplugin Set proto go_package: kubelet deviceplugin API 2023-01-14 10:27:13 -08:00
dra Update kubeletplugin API for DynamicResourceAllocation to v1alpha2 2023-03-13 21:38:56 +00:00
pluginregistration Set proto go_package: kubelet plugin register API 2023-01-14 10:37:06 -08:00
podresources kubelet podresources: extend List to support Dynamic Resources and implement Get API 2023-03-14 01:34:54 +02:00
stats/v1alpha1 Merge pull request #105585 from fengzixu/improvement-volume-health 2022-03-15 05:58:11 -07:00
well_known_labels.go Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis 2021-02-09 19:47:42 +01:00