Reconcile machine before creation deadline#849
Reconcile machine before creation deadline#849aaronfern wants to merge 3 commits intogardener:masterfrom
Conversation
840921c to
5cf6f33
Compare
5cf6f33 to
7821503
Compare
There was a problem hiding this comment.
Considering that at this moment when mcm-provider Create() calls don't respect the passed context, we have solved point 2 of the issue
I think the only neat way to solve point 1) is to enable ctx awareness in Create() calls.
But that aside, I have one concern that with CrashLoopBackOff machines getting marked Failed soon could lead to more chances of the race observed in issue gardener/autoscaler#118
Also if we solve the above issue, by considering Failed as Terminating that would basically mean that most of the times MCM is quicker to mark the machine Failed / Terminating and create a new replacement machine(have the same CLBF fate) which means CA will never actually be able to remove this kind of machine (though it'll backoff from node-grp)
Co-authored-by: Himanshu Sharma <[email protected]>
7821503 to
60b89e6
Compare
Co-authored-by: Himanshu Sharma <[email protected]>
|
@aaronfern You need rebase this pull request with latest master branch. Please check. |
|
/hold |
|
This PR is very outdated, and does not incorporate the updated solution proposed in the linked issue. /close |
What this PR does / why we need it:
This PR adds the following
CreateMachine()call so that this call can time out before the creation deadline expiresWhich issue(s) this PR fixes:
Fixes #790
Special notes for your reviewer:
Release note: