Skip to content

How to increase the number for 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.

  1. Explore the Rancher local cluster, within the Rancher UI.
  2. Navigate to Apps -> Installed Apps.
  3. Select cattle-fleet-system from the Namespace filter at the top of the page.
  4. Click Edit/Upgrade for the fleet application.
  5. Click Next on the first metadata view to progress to the chart values view.
  6. In the chart values, under controller.reconciler.workers you can increase the number of workers for each component. The default is 50. You may wish to start with increments of 50:

controller:
  reconciler:
    workers:
      bundle: '50'
      bundledeployment: '50'
      cluster: '50'
      clustergroup: '50'
      gitrepo: '100'
      imagescan: '50'
7. Click Update to update the helm chart with the new worker values.

If you need more information, please contact support on this issue.