Replies: 4 comments
-
|
I see there has been zero activity on this question but within my team I use the SCM generator as well for AzureDevops repositories. It would be very helpful if there was some kind of logging that checks what a SCM generator is actually doing. I'm completely blind on why my filtering is not working at the moment. |
Beta Was this translation helpful? Give feedback.
-
|
Can someone help us? It seems I am not the only one trying to understand how this works :) Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
I am also still interested in this question. Were you able to figure it out? I am trying this functionality myself but my ApplicationSets controller seem to only poll the source repos (in my case all repos in gitlab under a certain group) only every 30 minutes or so. Honestly this is way too much time for this to be usable as the feedback loop from pushing changes and seeing them is wayyy too long. I do know you can modify the polling time for Applications, but as far as I could test, this only makes a difference after the ApplicationSet has generated the Application from polling the source repos. For reference, I am using the community helm chart for deploying argo CD. |
Beta Was this translation helpful? Give feedback.
-
|
Dunno if it still actual, but I use requeueAfterSecond with gitlab scm and ArgoCD 3.1.8 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Argo CD community! Currently, we have implemented Argo CD in our organization, with a multi-repo structure (each service has its source code and deploy manifests in an independent repository), and we are using a matrix generator between SCM Provider Generator and Cluster Generator to search for specific topics so Argo CD knows what to deploy on which cluster. We are using a GitHub App that allows us currently 12500 requests to the GitHub API per hour. We have been monitoring API requests consumption, because we have faced some rate limit problem due to Argo CD (probably due to this issue #14420).
We are using currently only 7
ApplicationSets like this (every AS matches different labels, but apart from that, all of them are exactly the same):Our org has currently 500 repositories, but only 12 of them for the moment have the labels needed by ArgoCD.
With this configuration, we are having more or less 5000 API requests per hour, which seems a lot. We are trying to understand what is causing that high number of requests to improve it. We have disabled Argo CD polling completely using
timeout.reconciliation: 0s, as every repo of the 12 with argocd-* topics configured have a webhook configured against Argo CD Application Controller, so we are sure these requests come only from SCM Provider Generator (the GitHub App is used exclusively for it).Many questions arise.
If anyone can explain me how the API requests are made, I would be very grateful! Thank you very much for your help!
Beta Was this translation helpful? Give feedback.
All reactions