argo-cd: Timeout.Reconciliation setting not affecting polling frequency

Checklist:

  • I’ve searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I’ve included steps to reproduce the bug.
  • I’ve pasted the output of argocd version.

Describe the bug

When setting the timeout.reconciliation in the argocd-cm, the frequency in which an application syncs has not changed from the default 3 minutes.

Exec-ing into the repo server pod, I can see ARGOCD_RECONCILIATION_TIMEOUT is set to what I want it to be (30s), but I don’t see it having the effect I expect.

To Reproduce

In the rbac-cm.yaml file, set data.timeout.reconciliation: 30s.

Expected behavior

The expected behavior is that the reconciliation time would be able to be reduced below the 3 minute default to 30s in this case.

Screenshots

Screenshot 2023-01-16 at 14 04 31

Version

Paste the output from `argocd version` here.
❯ argocd version
argocd: v2.4.15+05acf7a.dirty
  BuildDate: 2022-10-17T22:52:44Z
  GitCommit: 05acf7a52e377eacfee29c68e3e5e79a172ea013
  GitTreeState: dirty
  GoVersion: go1.19.2
  Compiler: gc
  Platform: darwin/amd64
argocd-server: v2.5.5+fc3eaec

Logs

Paste any relevant application logs here.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 3
  • Comments: 16 (2 by maintainers)

Most upvoted comments

@patrickbardo After setting data.timeout.reconciliation value of the argocd-cm configmap to 15s, sync period triggered every 15 seconds. (not rbac configmap) I’m not sure if it works when the sync period is less than 30 seconds.

  • update You can check sync period log at statefulset named argocd-application-controller. You should restart statefulset named argocd-application-controller. Without a restart, configmap modifications do not take effect.

Attach log (sync period : 15s)

time="2023-03-15T02:20:13Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:13Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:13Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:28Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:28Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:28Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:43Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:43Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:43Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:58Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:58Z" level=info msg="Reconciliation completed" <...>
time="2023-03-15T02:20:58Z" level=info msg="Reconciliation completed" <...>