-
Notifications
You must be signed in to change notification settings - Fork 19
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
Stack removal fails #166
Comments
Hi @lucavb, thanks for reporting this! Could you please clarify which resource you are referring to that fails to delete here? Is it the helm resource which installs Karpenter? |
Hey @andskli it seems to be the CustomResource that installs either the Edit: So I recreated my example in our account and here you see the failed resource: |
I'm not sure if this is related, but we also just ran into an issue deleting the stack. In our case it failed on trying to delete the NodeRole and a NodeClass. In cloudfromation the event error message points to the instance profile: Karpenter Node Role:
A node class that we provisioned using
All we did in this case was add karpenter to an existing stack, provision a node class to test, and then tried to tear it down. |
@andskli is there any update on this? |
Have not had much time to look at this. Had a quick check-in and I am able to reproduce using your example, so thanks for that @lucavb. Leaving the following as a note to future self or anyone willing to pick this issue up in the next few weeks as I won't be able to (summer holiday): What seems to happen is that the |
Hey,
we have been using
cdk-eks-karpenter
for a while now and we have been experiencing issues with the removal of stacks where karpenter has been installed using this package. Basically CloudFormation triggers the delete on the CustomResource which installed the yaml file into the cluster that then fails / times out. In the EKS console all the nodes have already been removed and the cluster is pretty much only still existing on paper (but I cannot connect with kubectl to it anymore). Eventually the CustomResource times out after 1h and CloudFormation fails.We have produced this sort of minimal example where the error still occurs and where we do nothing more than just creating a cluster within our pre-created VPC and then install karpenter using this package.
The text was updated successfully, but these errors were encountered: