Open mgoodness opened 2 years ago
We are suffering the exact same issue, running version v2.6.0.
Containers:
applicationset-controller:
Container ID: docker://fd2feeb73a7fa265491e880bd1316956ffbeca571882ae5e3c9c3866b498e1e1
Image: quay.io/argoproj/argocd:v2.6.0
Image ID: docker-pullable://quay.io/argoproj/argocd@sha256:ce98a41a5656938a6f07e23d446d948b321f36c9c3638e9c08d37ff500777995
The applicationset-controller
keeps polling (git fetch ...
) even though the field requeueAfterSeconds
was drastically increased.
Same as: https://github.com/argoproj/argo-cd/issues/12457. The problem we are having is not that the field requeAfterSeconds
is ignored, but that Applications syncs are triggering redundant reconciles of the ApplicationSet.
https://github.com/argoproj/argo-cd/issues/12407 can we see if this PR addresses it? I have a feeling it doesn't but similar issue.
It is solved by: https://github.com/argoproj/argo-cd/pull/12480.
Note that we are not mentioning a matrix generator with a cluster generator in this issue (as in https://github.com/argoproj/argo-cd/issues/12407). In our specific setup, we have one argo instance per cluster, and each one has an applicationset
with a git path generator.
The problem about the redundant reconciles was causing that every time the application-controller processed the apps, the applicationset was triggered for reconcile.
We have several ApplicationSets defined with the git generator and have set requeueAfterSeconds to reduce the polling. The applicationset controller is logging the new setting but continues to poll every 3 minutes. We are running release 0.4.1 of the ApplicationSet Controller.
Logs
Appset Config