argoproj-labs / argocd-autopilot

Argo-CD Autopilot
https://argocd-autopilot.readthedocs.io/en/stable/
Apache License 2.0
910 stars 122 forks source link

Question about default timeout.reconciliation=15s #593

Open murand78 opened 3 months ago

murand78 commented 3 months ago

Hi, when installing argcd with autopilot, looking at https://github.com/argoproj-labs/argocd-autopilot/blob/main/manifests/base/kustomization.yaml apps are refreshed every 15s.

configMapGenerator:
  - name: argocd-cm
    behavior: merge
    literals:
      - "timeout.reconciliation=15s"

Reading https://argo-cd.readthedocs.io/en/stable/faq/#how-often-does-argo-cd-check-for-changes-to-my-git-or-helm-repository the argocd default is 180s.

Is there any reason why in argocd with autopilot installation this is set to default 12 time more quicker? In my case I have 150 Applications generated with 20 ApplicationSet on a cluster with 4CPU/16GB Ram nodes, and compute resources were exhausted on the node used by the argocd-application-controller. Reverting the default value to 180s significantly reduced the cpu consumption (the graph below after 11.00) .

Screenshot 2024-08-28 at 14 28 28