-
Notifications
You must be signed in to change notification settings - Fork 3
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
Heuristics to determine how much time to allocate the resource #38
Labels
enhancement
New feature or request
Comments
10 tasks
sparshev
added a commit
that referenced
this issue
Nov 16, 2022
With lifetime timeout we can be sure the application resource will not be executed forever if something bad happened and based on this timeout fish node will be able to do some heuristics on how much time left till provisioning the next resource (#38). The duration is set in standard golang format as string "1h2m3s", if it's empty or 0 - the default from fish config will be used. And if it's negative (like "-1s") then the resource should exist until user say so by deallocating it. This change really helps with clouds where we certainly don't need to left the resources for long time.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now node just tells if it can or can not provide the label, but for cluster proper working it will be great to have more data about how much it will take to run the resource and properly elect the right executor.
The metrics:
So something like that, quite sure there is alot more and the logic to calculate all those input data will be quite complex, but will optimize the cluster utilization and will help with nodes specialization.
The text was updated successfully, but these errors were encountered: