MachineSet does not consider current state of Cluster before creating new machines #8657
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Detailed Description:
When a MachineSet creates machines under certain circumstances, the operation fails or leads to a new machine that will be deleted and recreated in a short timeframe, and this is not ideal.
This issue is about introducing preflight checks (details below) in the MachineSet controller so the machine creation is blocked until circumstances are known to be safe for machine creation, ultimately ensuring stability of workloads in the cluster.
Following cases can be handled more safely by implementing preflight checks:
Like for kubeadm preflight checks, we are considering to have also options to skip preflight checks (probably an annotation, TBD). The main use case for skipping preflight check is to allow users to run a combination of versions outside the kubeadm policy, given that in some cases this works, but it also seems a nice option given the level of configurability we are asked for.
Anything else you would like to add?
Follow-ups:
/kind bug
The text was updated successfully, but these errors were encountered: