-
Notifications
You must be signed in to change notification settings - Fork 44
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
how to kill worker after the remote action execution? #815
Comments
Currently this is not supported. @zbirenbaum, could you make a PR that will shutdown the worker after N number of jobs have been processed and make it configurable in the json? This should allow @vors to just set this value to In the long run we are likely going to split workers into two parts (worker & executor). The |
I'd really appreciate if you can implement this proposal. That is one thing that is needed for our deployment. |
Sure! I'll get started on this |
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones. closes: TraceMachina#815
Thank you for the awesome project!
Let's say that we have the following setup:
It would be very useful to allow work to exit
nativelink
binary after a single execution -- this way I can kill the pod and it would be re-created proving a clean environment for the next action execution.The text was updated successfully, but these errors were encountered: