OS
Schema Hub

Device

Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.

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

Resource Structure

basicobject
Basic defines one device instance.
namestringRequired
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.

Version Diff

Compare: