-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running in Autosync, syncing takes forever. Proposal to autosync selective only out of sync items #3877
Comments
I'm curious to know why the syncing takes so long. What does CPU/Memory usage of ArgoCD look like during a sync? |
We have a lot of resources sub helm charts etc |
We use argo to deploy multiple namespaces with resources in one time. |
Looking into this. |
Hey @kshamajain99, Any update on this? Any guidance on an open source PR? Our syncs are taking hours to complete now when we only add/update/remove a couple of objects per commit. In our case we have a chart that deploys tenant namespaces, RBAC, resource quotas, etc. as mentioned in #4521 |
It would nice to have some more debug information on this, like what is it doing that causes it to take so long? (this is a message to the maintainers). Would debug level logging be enough to get this information? |
@Smirl I am currently working on this issue, you can expect an PR soon in a day or two. |
Implemented. Thank you @kshamajain99 ! |
@kshamajain99 Is this option influencing the post sync hooks? |
Do you have a timeline/milestone for when this will be release? I don't see it in the 1.9 milestone. It would save hours of each sync for us when it is out. |
@Smirl This issue is in 1.9 milestone. It will be released in a week or two. |
* selective sync Signed-off-by: kshamajain99 <kshamajain99@gmail.com>
Summary
We need to speed up syncing, sometimes it takes hours before syncing is ready. We found that a 'normal' sync applies to all items, also the synced items. This takes much time. When we do a selective sync for all 'out-of-sync' items it is ready in seconds. We like to have an option in the automatic sync to filter all out of sync items. The same as in the UI like here:
Motivation
We cannot use the autosync right now because the apps stay in syncing state.
Proposal
extend the autosync with an option to use selective sync: 'out-of-sync'
The text was updated successfully, but these errors were encountered: