Skip to content

resource.v1alpha3.resourceClaimSpec

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

Index

Fields

fn withController

withController(controller)

"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.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.\n\nThis is an alpha field and requires enabling the DRAControlPlaneController feature gate."

obj devices

"DeviceClaim defines how to request devices with a ResourceClaim."

fn devices.withConfig

withConfig(config)

"This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim."

fn devices.withConfigMixin

withConfigMixin(config)

"This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim."

Note: This function appends passed data to existing values

fn devices.withConstraints

withConstraints(constraints)

"These constraints must be satisfied by the set of devices that get allocated for the claim."

fn devices.withConstraintsMixin

withConstraintsMixin(constraints)

"These constraints must be satisfied by the set of devices that get allocated for the claim."

Note: This function appends passed data to existing values

fn devices.withRequests

withRequests(requests)

"Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated."

fn devices.withRequestsMixin

withRequestsMixin(requests)

"Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated."

Note: This function appends passed data to existing values