-
Notifications
You must be signed in to change notification settings - Fork 98
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
Activate explicit LB/SG deletion again and improve code to reduce API calls #295
Activate explicit LB/SG deletion again and improve code to reduce API calls #295
Conversation
@rfranzke Label priority/normal does not exist. |
/test |
Testrun: e2e-j2xms +---------------------+---------------------+--------+----------+ | NAME | STEP | PHASE | DURATION | +---------------------+---------------------+--------+----------+ | infrastructure-test | infrastructure-test | Failed | 25m27s | +---------------------+---------------------+--------+----------+ |
/test |
Testrun: e2e-5wpxs +---------------------+---------------------+-----------+----------+ | NAME | STEP | PHASE | DURATION | +---------------------+---------------------+-----------+----------+ | infrastructure-test | infrastructure-test | Succeeded | 15m7s | +---------------------+---------------------+-----------+----------+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I played with it locally and it looks good to me. Thanks once again for this PR!
Only one minor suggestion inline.
/test |
Testrun: e2e-b9d5g +---------------------+---------------------+-----------+----------+ | NAME | STEP | PHASE | DURATION | +---------------------+---------------------+-----------+----------+ | infrastructure-test | infrastructure-test | Succeeded | 13m59s | +---------------------+---------------------+-----------+----------+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Where are those coming from? In the end, it doesn't matter too much, I guess, because we need this code for the cluster deletion (w/o a control plane) anyway, but out of curiosity: what's happening there, that Kubernetes (?) leaks IaaS resources? Do we know? |
We delete all |
@mvladev , please don't mix issues and cases. We were observing the leaked SGs and LBs mostly for our vpn-shoot LB and nginx-ingress LB. The issue you talk about is a different one. |
Ref #308 |
How to categorize this PR?
/area scalability robustness ops-productivity
/kind enhancement
/priority 3
/platform aws
What this PR does / why we need it:
With #290 we had disabled the explicit deletion for clusters >= 1.16. However, we see some occasional issues with leaked LB/SG, so let's reactivate it again and improve the code to reduce the number of API calls.
Special notes for your reviewer:
/assign @ialidzhikov
/invite @ialidzhikov
/squash
Earlier, we listed all LBs and executed a
DescribeTags
call for each load balancer. Now, we first list LB and execute only oneDescribeTags
call with all the found LB names. This should significantly improve the overall number of API calls (especially, when many clusters in the same AWS account are deleted in parallel).Release note: