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>
The GPU components need consistent answers about catalog-name
ownership, free units, budget keys and tenant entitlement.
An acknowledged name belongs to its object UID even when an older
class changes its request. Only an exact, unique acknowledgement
confirms ownership; creation time selects candidates for unreserved
names, and duplicate acknowledgements stay ambiguous. These snapshot
rules do not fence future status writes or reserve GPU capacity.
Free units come from node allocatable and pod requests. A finite
NoExecute toleration cannot make a node an enduring placement option,
but a matching toleration without an expiry can.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>