AllocationResultPatch

data class AllocationResultPatch(val availableOnNodes: NodeSelectorPatch? = null, val resourceHandle: String? = null, val shareable: Boolean? = null)

AllocationResult contains attributed of an allocated resource.

Constructors

Link copied to clipboard
constructor(availableOnNodes: NodeSelectorPatch? = null, resourceHandle: String? = null, shareable: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This field will get set by the resource driver after it has allocated the resource driver to inform the scheduler where it can schedule Pods using the ResourceClaim. Setting this field is optional. If null, the resource is available everywhere.

Link copied to clipboard
val resourceHandle: String? = null

ResourceHandle contains arbitrary data returned by the driver after a successful allocation. This is opaque for Kubernetes. Driver documentation may explain to users how to interpret this data if needed. The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.

Link copied to clipboard
val shareable: Boolean? = null

Shareable determines whether the resource supports more than one consumer at a time.