-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[task manager] support max_workers
config value of 0
#93826
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Thanks for opening the issue @pmuellr
The reason I had even thought about this was actually for cloud - as cross env (cloud with on-prem) don't have a shared config, and they can clash. |
+1 to this so it's easier for us to support/understand if this is the case. I wonder how this would impact the |
max_config
value of 0max_workers
config value of 0
Yeah, this is actually a problem 🤔 At its core, the problem is that we've designed our system under the assumption that all Kibana are configured the same, but the moment we have some who can run alerts and some that can't, we ned to be able to differentiate between them. We might need to take a step back here and ask: What deployment configurations do we want to support and how? |
I've opened an issue to discuss things from that perspective |
Capability resolved by |
Both @gmmorris and I had assumed that you could config
xpack.task_manager.max_workers
to 0, which would prevent task manager from running any tasks at all. But turns out, you can't:kibana/x-pack/plugins/task_manager/server/config.ts
Lines 75 to 80 in 9019946
We were thinking of using this for diagnostic purposes in a support case, when we realized we couldn't. And there is thinking that this could also be used productively to keep Kibana instances from having to be involved in running alerts, reports, etc.
So, suggesting we change the
min
there to be0
, from1
.Was thinking, since this could make various activities completely non-operational in the case of setting it to
0
AND there's only one Kibana instance, it's worth some kind of INFO | WARN at startup indicating what's going on.Was also thinking we might want to keep the
min
to1
for cloud, since the configs are shared between those instances, so setting it to0
would make alerting, reporting, etc non-operational.Lastly, not sure what other plugins are using task manager, and if they would be affected here.
The text was updated successfully, but these errors were encountered: