mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-06 07:03:45 +09:00
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>