How to increase the number of workers for Fleet
Article Number: 000022085
Environment
- Rancher 2.10+
- Fleet 0.11+
Procedure
In order to tweak Fleet for performance, it is possible to increase the number of workers. This will have trade-offs, mostly on CPU consumption.
Increasing the number of workers on Rancher should be done through the Apps feature on the Rancher local cluster.
- Explore the Rancher local cluster, within the Rancher UI.
- Navigate to Apps -> Installed Apps.
- Select cattle-fleet-system from the Namespace filter at the top of the page.
- Click Edit/Upgrade for the fleet application.
- Click Next on the first metadata view to progress to the chart values view.
- In the chart values, under agent.reconciler.workers you can increase the number of workers on the fleet agents for the Downstream clusters. On controller.reconciler.workers you can increase the number of workers for each component on the fleet controller. The default is 50. You may wish to start with increments of 50:
agent:
reconciler:
workers:
bundledeployment: '50'
drift: '50'
controller:
reconciler:
workers:
bundle: '50'
bundledeployment: '50'
cluster: '50'
clustergroup: '50'
gitrepo: '100'
imagescan: '50'
If you need more information, please contact support on this issue.