ApplicationSet Controller Scaling? #19113
Replies: 3 comments 3 replies
-
The ApplicationSet controller doesn't do any sharding so running multiple controllers won't make the reconciliation any faster. What generators/applicationsets do you see the controller taking most of its time? Have you tried increasing the number of workers? You can set the value EDIT: PR to add an example to the docs - #19166 |
Beta Was this translation helpful? Give feedback.
-
Thanks @rumstead, I was not aware this option existed. That PR should help a lot with discoverability, but to be honest I think the best place to mention it in the https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/. Although this is not HA topic but at least I did refer to this doc as a general scalability guide. I am trying |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I tried to search https://github.com/search?q=repo%3Aargoproj%2Fargo-cd+applicationset+scaling&type=issues and I am aware of https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/, but I cannot find anything regarding ApplicationSet Controller scaling. I have what I consider a fairly small setup, I've seen much bigger around here, I have about ~20 k8s clusters and only about ~250 ApplicationSets with a total of about ~5k applications. Most of them are span up by ApplicationSets although not all.
It scales pretty well for the most part except for the ApplicationSet controller, which looks like I can't scale horizontally at the moment? It takes it about 5-10 minutes to do a full cycle and reconcile changes to ApplicationSets onto the Applications it manages.
Is there anything I am missing?
Beta Was this translation helpful? Give feedback.
All reactions