Files
cozystack/packages/apps
Andrei Kvapil 4e62068763 fix(kubernetes-nodes): scale a pool capped at zero down to zero
The chart leaves spec.replicas out of the MachineDeployment so the
autoscaler owns it, and relies on CAPI to clamp the live value into
[min, max]. A pool set to maxReplicas 0 to pause it kept its running
workers: the clamp did not bring the MachineDeployment down, and the
autoscaler only removes nodes it finds unneeded. Seen on a managed
cluster suspended for lack of funds, and with Stop group in the
console, both of which set the pool to min 0 / max 0.

A pool capped at zero now renders replicas: 0. Raising maxReplicas
drops the field again, and the autoscaler brings the pool back to its
minimum.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-12-01 17:47:05 +01:00
..
2026-11-27 18:22:11 +05:00
2025-08-07 14:07:05 +03:00

How to test packages local

cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd