Files
cozystack/internal/gpu/model
Aleksei Sviridkin 438b794ba0 feat(gpu): read class entries and the GPU resource-name set
Malformed class annotations must fail rather than silently boot a VM
without its requested GPUs. Admission also needs to distinguish GPUs
from unrelated host devices when refusing additional requests beside
class entries.

No single resource-name source identifies every GPU: a pod-only resource
may appear only in the hoster's list, while KubeVirt's permitted-device
table can also contain NICs. Sharing these interpretations prevents the
consumers from accepting different annotations or treating a NIC as a
GPU.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-03 14:45:58 +03:00
..