-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[question] is it possible to limit number of childs in periodic jobs? #5462
Comments
Currently you cannot specify a run limit for periodic batch jobs. You may want to track #1782 as timeouts might be useful for your use case when implemented. That being said one workaround would be to use constraints, probably node_class, to limit the number of nodes the periodic batch jobs could run on. For example if you have 5 servers with I'm going to close this ticket, but please feel free to open a feature request with your ideal behavior if this doesn't meet your needs. |
@schmichael thank you for quick reply and explanation, that was very helpful. As for now we would probably just disable |
Our enterprise product does have Namespaces and Quotas which would allow you to use my (I promise we are not intentionally leaving out the batch job limit to sell more licenses! I just wanted to offer another workaround.) |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
I am trying to understand if its possible to limit number of periodic job childs somehow.
E.g. i do have a periodic job running every 15 minutes which normally exits in a 5-30m. It is fine to have concurrent jobs, however, if due some bugs in the code this jobs would start hanging - one such parent and it childs will exhaust all cluster resources very soon as number of concurrent jobs will grow very fast.
Is there any way to limit allowed maximum amount of children?
The text was updated successfully, but these errors were encountered: