argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18.06k stars 5.51k forks source link

ArgoCD not respecting timeout.reconcilation value #12692

Open sandeepmnet opened 1 year ago

sandeepmnet commented 1 year ago

Checklist:

Describe the bug

Gitlab server is getting overloaded due to frequent calls from argocd repo server. Tried testing changing timeout.reconcilation to 0 in config map and restarted argo-controller and argo-repo-server but the issue persists.

To Reproduce

Expected behavior Post changing timeout.reconcilation to 0 and restarting argo-controller pod and argo-repo-server pod, one should not be seeing any calls being made to the gitlab repo as polling is disabled.

Version v2.4.15

argocd-server: v2.4.15+05acf7a
BuildDate: 2022-10-17T20:32:39Z
GitCommit: 05acf7a52e377eacfee29c68e3e5e79a172ea013
GitTreeState: clean
GoVersion: go1.18.7
Compiler: gc
Platform: linux/amd64
Kustomize Version: v4.4.1 2021-11-11T23:36:27Z
Helm Version: v3.8.1+g5cb9af4
Kubectl Version: v0.23.1
Jsonnet Version: v0.18.0

$ printenv | grep -i timeout
ARGOCD_RECONCILIATION_TIMEOUT=0

$kubectl describe cm argocd-cm | grep timeout -A 2
timeout.reconciliation:
----
0
PapaNappa commented 1 year ago

Seems to be duplicate of #11995.