puppet.run() uses a batch_size of 10 by default, which seems very conservative. I would suggest raising it to 20 or 25.
Description
Description
Related Objects
Related Objects
- Mentioned In
- T397148: Update wikikube codfw to kubernetes 1.31
- Mentioned Here
- T280622: Determine safe concurrent puppet run batches via cumin
Event Timeline
Comment Actions
Possible related task: T280622
The concern may be that cookbooks running in parallel at the same time could put some strain the puppetservers. Let's maybe not pass the 20 value.
Comment Actions
@JMeybohm do you have a specific use case that cannot/is hard to solve simply changing the batch_size of the call to puppet.run()?
https://doc.wikimedia.org/spicerack/master/api/spicerack.puppet.html#spicerack.puppet.PuppetHosts.run
Comment Actions
Nope, I just thought a default of 10 is pretty conservative. Feel free to ignore me ofc. :)