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_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/DeviceClaim_v1beta2.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
configarrayThis field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
constraintsarrayThese constraints must be satisfied by the set of devices that get allocated for the claim.
requestsarrayRequests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
Version Diff
Compare:→