Files
cozystack/pkg
Aleksei Sviridkin a42db84ec3 fix(api): refuse minReplicas above maxReplicas on GPU class pools
CAPI starts a new pool at its min-size annotation without comparing it
with the max, so a KubernetesNodes pool whose minReplicas is above
maxReplicas has no consistent size. With class entries that also breaks
the count times maxReplicas GPUs the pool is meant to hold, so the
write is refused before it is stored.

Pools without class entries keep being admitted as before, and no
released pool can carry class entries. The check runs on the apps API
write path, so it holds for clients that never render the chart.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-28 07:18:08 +03:00
..
2026-11-24 23:06:02 +01:00