Skip to content
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

How to increase bundles deployment concurrency of fleet agent #2252

Closed
Mohamed-Adil-Ibrahim opened this issue Mar 21, 2024 · 7 comments
Closed

Comments

@Mohamed-Adil-Ibrahim
Copy link

  • 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

@manno
Copy link
Member

manno commented Apr 10, 2024

Which version of fleet are you using?

@manno
Copy link
Member

manno commented Apr 10, 2024

We could make the number of concurrent reconciles configurable for the agent.

@manno manno moved this from 🆕 New to To Triage in Fleet Apr 10, 2024
@manno manno added this to the v2.10.0 milestone Apr 10, 2024
@Mohamed-Adil-Ibrahim
Copy link
Author

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

@scalanova
Copy link

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?

@Tommy12789 Tommy12789 self-assigned this Apr 29, 2024
@manno
Copy link
Member

manno commented Jun 26, 2024

Also related: #2552

@manno
Copy link
Member

manno commented Oct 23, 2024

We increased concurrency to 50 and plan to make it configurable: #2915

@manno
Copy link
Member

manno commented Oct 23, 2024

Closing as a duplicate of #2915

@manno manno closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2024
@github-project-automation github-project-automation bot moved this from To Triage to ✅ Done in Fleet Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants