Resource Claim Spec
data class ResourceClaimSpec(val allocationMode: String? = null, val parametersRef: ResourceClaimParametersReference? = null, val resourceClassName: String)
ResourceClaimSpec defines how a resource is to be allocated.
Constructors
Link copied to clipboard
constructor(allocationMode: String? = null, parametersRef: ResourceClaimParametersReference? = null, resourceClassName: String)
Properties
Link copied to clipboard
Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.
Link copied to clipboard
ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim. The object must be in the same namespace as the ResourceClaim.
Link copied to clipboard
ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.