EKS cluster AWSMachines not created because MachineSet pre-fight check fails #5225
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Add a MachineDeployment for the EKS cluster deployed by CAPA
No errors in the capa-controller pods
But there is an error for the machineDeployment.
Error messages:
Message: Performing "Scale up" on hold because ControlPlane namespace/cluster-control-plane is provisioning ("ControlPlaneIsStable" preflight failed). The operation will continue after the preflight check(s) pass
After we set the annotation "machineset.cluster.x-k8s.io/skip-preflight-checks: ControlPlaneIsStable", the EC2 machines finally created.
The problem is why the preflight-checks fail? We don't want to add the annotation for every MachineDeployment.
And it seems like a new feature added in Sep by ClusterAPI.
What did you expect to happen:
EC2 machines created without adding the annotation
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
): 1.29.0/etc/os-release
): ubuntuThe text was updated successfully, but these errors were encountered: