-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EKS cluster AWSMachines not created because MachineSet pre-fight check fails #5225
Comments
This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Experiencing the same issue but using existing VPC without EKS. Did you find a permanent solution or are you still using the workaround? |
Hello, i am facing the same issue with EKS. After some research i recognized that the So i'd assume that you are using CAPI >= v1.9.0 (like me) which seems to be not supported by CAPA v2.7.1 An issue for CAPI v1.9.0 was created in Nov 24: #5218 As i am afraid of downgrading to CAPI v1.8.x (which version seems to be supported by CAPA, #5061), i'd like to ask for a CAPA version that supports CAPI >= v1.9.0. Edit: Regards |
Any luck with the downgrades? I've attempted to downgrade CAPI to v1.8.6 to no avail. |
This is the check code https://github.com/kubernetes-sigs/cluster-api/blob/79e6731b0d20a0ca2dad5e4f96d2a532aa82b54b/internal/contract/controlplane.go#L190-L208 It is expecting https://cluster-api.sigs.k8s.io/developer/providers/contracts/control-plane#controlplane-version
In this case since |
/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: