ResourceClaimSpec

data class ResourceClaimSpec(val controller: String? = null, val devices: DeviceClaim? = null)

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

Constructors

Link copied to clipboard
constructor(controller: String? = null, devices: DeviceClaim? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val controller: String? = null

Controller is the name of the DRA driver that is meant to handle allocation of this claim. If empty, allocation is handled by the scheduler while scheduling a pod. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This is an alpha field and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
val devices: DeviceClaim? = null

Devices defines how to request devices.