-
I deployed ArgoCD via Helm and I want to configure ArgoCD sync timeout because whenever there's an error occurred, ArgoCD retries and wait for a bit too long until I got sync failure notification. |
Beta Was this translation helpful? Give feedback.
Replies: 14 comments 6 replies
-
Hi @smeeklai, There's no way to set a 'maximum time/expiration time' on the sync operation AFAICT, but you can configure the number of retries... When creating an application (for example, via the CLI), the number of retries (and the time between retries) can be configured:
(https://argoproj.github.io/argo-cd/user-guide/commands/argocd_app_create/) Primarily for your question you would want to look at Or you can add/tweak the same options on the Application CR: argo-cd/docs/operator-manual/application.yaml Line 111 in ac2491d For example:
|
Beta Was this translation helpful? Give feedback.
-
I would absolutely love a timeout for sync operations. Currently I have to manually track and cancel jobs that couldn't complete. |
Beta Was this translation helpful? Give feedback.
-
Any progress or plans to include the feature into upcomming release? really annoying... :( Probably |
Beta Was this translation helpful? Give feedback.
-
still no sync timeout??? |
Beta Was this translation helpful? Give feedback.
-
The sync timeout would be very much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Why is this a discussion instead of an issue? Possibly related: |
Beta Was this translation helpful? Give feedback.
-
Sync timeout is a must... there are too many things that might go wrong and result into a never ending sync that would last forever which atm require manual intervention. :/ |
Beta Was this translation helpful? Give feedback.
-
Using |
Beta Was this translation helpful? Give feedback.
-
In my case hanging Post-Sync jobs are causing e.g. 15 hours running synchronization. Timeout would be nice. |
Beta Was this translation helpful? Give feedback.
-
We have a similar problem. One of ArgoCD is installed on a VM that we don't have access to so when we make a mistake and even fix it in the next commit we can't manually terminate the current ongoing sync and re-run the new one with the fix. ;/ |
Beta Was this translation helpful? Give feedback.
-
This is big issues for us where we had to manually go through large number of ArgoCD apps and terminate the ongoing sync and re-sync. We would like some configurable parameters to play with around timeout. |
Beta Was this translation helpful? Give feedback.
-
We have also been having some issues where having a sync timeout would be very useful. Changes just get stuck in a syncing state and never progress or fail. Then the changes to fix the issue aren't able to sync. |
Beta Was this translation helpful? Give feedback.
-
I'm facing many issues because of this... would be lovely to have a sync timeout |
Beta Was this translation helpful? Give feedback.
-
As of Argo CD v2.14, a global sync timeout can be configured for applications. The global sync timeout feature addresses issues where the sync process gets stuck indefinitely, often due to resources failing to start properly and continuously retrying. Now, a global timeout can be configured on the Argo CD Controller to timeout long-running sync operations thanks to Andrii Korotkov (Verkada)! You can configure the timeout by updating |
Beta Was this translation helpful? Give feedback.
Hi @smeeklai,
There's no way to set a 'maximum time/expiration time' on the sync operation AFAICT, but you can configure the number of retries...
When creating an application (for example, via the CLI), the number of retries (and the time between retries) can be configured: