-
Notifications
You must be signed in to change notification settings - Fork 198
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
keda: cdk destroy fails when no custom irsaRoles are specified. #1082
Comments
Issue behaves as also described in #980 |
@PeterKoegel acknowledged, appears to be a defect. We add Keda in the end to end test but using with irsa indeed. |
No, I would need to do some adaptions to the blueprints (predefined vpc subnets ...) to get them running in my environment so I only analyzed this in a custom configuration. |
When trying to reproduce this issue in a simple example I noticed that the described behaviour only occurs when there are other ressources created in the same stack that have a dependency defined to the cluster:
cdk destroy results in the following error:
|
Describe the bug
When the keda addon is included in my cluster then cdk destroy runs into a timeout of one hour because the keda-namespace-struct cannot be destroyed and I get following error messages.
I can work around this issue by configuring irsaRoles for the plugin where it does not matter which role I choose e.g.:
In this case cdk destroy runs successfully.
I think this is because when the list of irsaRoles is > 0 then in cdk-eks-blueprints/lib/addons/keda/index.ts line 90 another branch is executed that creates the keda namespace from cdk instead of helm.
What I want is to successfully run cdk destroy without specifying any irsaRoles.
Expected Behavior
cdk destroy should destroy everything.
Current Behavior
When no list of irsaRoles is specified then cdk destroy hangs at a certain point and aborts with a timeout after an hour.
Reproduction Steps
Add keda addon to the configuration without specifying irsaRoles in the addon config.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.144.0 (build 5fb15bc)
EKS Blueprints Version
1.15.1
Node.js Version
v20.11.1
Environment details (OS name and version, etc.)
Cluster with Linux + Windows nodegroup
Other information
No response
The text was updated successfully, but these errors were encountered: