multi-level app-of-app with sync wave not honoring the order #25927
thirumurthis
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In ArgoCD v 2.14.21 using multi-layer apps-of-app pattern with sync wave to deploy apps to cluster. The argocd cm is updated with application health check custom code.
The app-of-app with sync wave looks like below. The number in () is the sync wave number
When we configure the git repo and sync for the first time, we do see that all the app in "level1" is getting synced based on the order.
Noticed that the level1 child5 is not waiting for the level1 child4 children apps to completed, could see the level2 child apps are still synchronizing, but the level1 apps are completed sync.
The order is added since the level1 child5 needs the level2 child4 apps to be deployed.
Question - is there a way to configure argocd to follow the sync order strictly even at the child level app-of-apps?
The demo code is updated in git-repo.
I had to add health check code like below in argocd-cm config map. This seem to wait for the child apps to do. But not sure whether this is the correct approach. The manual sync is indicates the application with child apps and level1 apps are syncing very quickly.
Beta Was this translation helpful? Give feedback.
All reactions