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
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)
@patrickbardo After setting
data.timeout.reconciliation
value of theargocd-cm
configmap to15s
, sync period triggered every 15 seconds. (notrbac
configmap) I’m not sure if it works when the sync period is less than 30 seconds.statefulset
namedargocd-application-controller
. You should restartstatefulset
namedargocd-application-controller
. Without a restart, configmap modifications do not take effect.Attach log (sync period : 15s)