OS
Schema Hub

DeviceClaim

DeviceClaim defines how to request devices with a ResourceClaim.

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

Resource Structure

configarray
This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
constraintsarray
These constraints must be satisfied by the set of devices that get allocated for the claim.
requestsarray
Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.

Version Diff

Compare: