OS
Schema Hub

DeviceAllocationConfiguration

DeviceAllocationConfiguration gets embedded in an AllocationResult.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/resource.api.k8s.io/DeviceAllocationConfiguration_v1beta2.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/DeviceAllocationConfiguration_v1beta2.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

opaqueobject
Opaque provides driver-specific configuration parameters.
requestsarray
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.
sourcestringRequired
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

Version Diff

Compare: