Files
cozystack/pkg/generated
Aleksei Sviridkin cb12380040 feat(api): offer GPU classes through a gpuclass option source
A tenant choosing an offer needs its availability and remaining budget
before submitting a VM, rather than discovering them through a refused
start. Reusing admission's pool calculation keeps the budget estimate
consistent with writes.

The catalog is visible to every authenticated user. Class-wide figures
provide the information needed to size an entry without disclosing node
identity or per-node inventory. An unentitled tenant cannot use a vGPU
offer even when its budget has room. The catalog applies the same
live ownership check as VMI admission, so it offers no class whose
start would be refused for its resource name.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-28 09:25:43 +03:00
..