siderolabs / cluster-api-control-plane-provider-talos

A control plane provider for CAPI + Talos
Mozilla Public License 2.0
62 stars 20 forks source link

on scale down prioritize not provisioned machines #54

Closed smira closed 2 years ago

smira commented 3 years ago

Prioritize machines which don't have NodeRef, which are not in the provisioned state.

Such machines should be deleted first. If none are present, start removing oldest provisioned machine (like it is today).

This makes sure that on scale down unhealthy machines are deleted first.

smira commented 2 years ago

This is no longer valid, as CACPPT no longer allows scale-up and scale-down if the control plane is not healthy