package
0.0.0-20240611155222-d44f63b8d1cc
Repository: https://github.com/ihcsim/k8s-dra.git
Documentation: pkg.go.dev
# Functions
Resource takes an unqualified resource and returns a Group qualified GroupResource.
# Constants
the kubelet plugin determines the allocatable devices on a node.
the device driver allocates a device to a pod based on the pod's resource claim request.
the device driver places a temporary hold on a device if the host node is deemed suitable for satisfying a pod's resource claim.
the kubelet plugin prepares an allocated device for use by a pod.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DeviceAllocation represents the allocation state of a GPU device.
DeviceSelector allows one to match on a specific type of Device as part of the class.
GPUClassParameters defines pre-start and post-complete hooks fo It can be referenced by a ResourceClass object.
GPUClassParametersList represents the "plural" of a DeviceClassParameters CRD object.
GPUClassParametersSpec is the spec for the GPUClassParametersSpec CRD.
GPUDevice represents an allocatable GPU device on a node.
GPURequirements is a set of requirement parameters that is referenced by a ResourceClaim object.
GPURequirementsList represents the "plural" of a ResourceClaimParameters CRD object.
GPURequirementsSpec is the spec for the GPURequirements CRD.
NodeGPUSlices holds the spec of GPU devices on a node, and the devices' allocation state.
NodeGPUSlicesList represents a list of NodeDevices CRD objects.
# Type aliases
DeviceAllocationState represents the state of a GPU device.
NodeSuitability describes the suitability of a node for running GPU workloads.