How to increase bundles deployment concurrency of fleet agent
-
We have 59 uSerivces/Bundles that depends on each others without a pre-defined order at the moment, and in order for the application to be up and running we need to deploy them all together and let fleet to reconcile them - This is how we manage to deploy it using other GitOps tool but we are migrating to fleet-.
-
All of the bundles goes to "Wait Applied" state however in reality fleet agent only takes the first 5 bundles that is defined alphabetically in the GitRepo path, and some of them will go to "ContainerCreating" state since they waiting for other bundles to be deployed, but fleet doesn't continue deploying the rest of the bundles and all the bundles will stuck in "Wait Applied" state.
-
My question is: How to let fleet to deploy all the bundles configured together ?
-
The log from the fleet-agent looks like the following - omitting the bundle names -: level=info msg="Deploying bundle ....." level=info msg="Deploying bundle ....." beginning wait for 11 resources with timeout of 20m0s level=info msg="Deploying bundle ....." beginning wait for 13 resources with timeout of 20m0s level=info msg="Deploying bundle ....." beginning wait for 12 resources with timeout of 20m0s level=info msg="Deploying bundle ....." beginning wait for 11 resources with timeout of 20m0s beginning wait for 12 resources with timeout of 20m0s
Which version of fleet are you using?
We could make the number of concurrent reconciles configurable for the agent.
Thanks for the reply, below are the versions I'm currently using: Rancher: v2.8.1 Dashboard: v2.8.0 Helm: v2.16.8-rancher2 Machine: v0.15.0-rancher106
Fleet Image: rancher/fleet:v0.9.1 as well as I tried rancher/fleet:v0.8.0-debug-1842-4
We are having the same issue with our deployment and saw this thread while looking for a resolution. Is there any progress for the issue or maybe a workaround to increase the number of concurrent reconciles?
Also related: https://github.com/rancher/fleet/issues/2552
We increased concurrency to 50 and plan to make it configurable: https://github.com/rancher/fleet/issues/2915
Closing as a duplicate of https://github.com/rancher/fleet/issues/2915