OS
Schema Hub

AllocationResult

AllocationResult contains attributes of an allocated resource.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/resource.api.k8s.io/AllocationResult_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/resource.api.k8s.io/AllocationResult_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

allocationTimestampobject
AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.
devicesobject
Devices is the result of allocating devices.
nodeSelectorobject
NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

Version Diff

Compare: