-
Notifications
You must be signed in to change notification settings - Fork 117
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
Reconcile machine before creation deadline #849
base: master
Are you sure you want to change the base?
Conversation
840921c
to
5cf6f33
Compare
5cf6f33
to
7821503
Compare
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.
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 <himanshu.sharma10@sap.com>
7821503
to
60b89e6
Compare
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.
just a nit
Co-authored-by: Himanshu Sharma <79965161+himanshu-kun@users.noreply.github.com>
@aaronfern You need rebase this pull request with latest master branch. Please check. |
/hold |
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: