Allocation Result
data class AllocationResult(val availableOnNodes: NodeSelector? = null, val resourceHandle: String? = null, val shareable: Boolean? = null)
AllocationResult contains attributed of an allocated resource.
Constructors
Link copied to clipboard
constructor(availableOnNodes: NodeSelector? = null, resourceHandle: String? = null, shareable: Boolean? = null)
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
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.