The admission webhooks, license copier and budget checks depend on the
same class annotations, names and ownership rules. Keep their contract
next to the shared constants, including where name acknowledgement
ends and capacity scheduling begins.
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>
GPU offers need stable names for tenant budgets and billing while the
host layer can change its device-plugin resource names. Publish the
offer metadata and a UID-scoped acknowledgement of the underlying resource name,
separate from readiness and from GPU capacity.
Keep immutable offer details on the class, require a profile for vGPU,
and retain the CRD on chart uninstall. The shipped-schema tests exercise
create, update and status preparation through the apiserver strategies,
including malformed fields and status isolation.
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>