@shinyaz

ApplicationSet Git Generator is slow to detect new directories

1 min read

After pushing a new envs/staging/ directory for an ApplicationSet with a Git Directory Generator, it took about 8 minutes for the nginx-staging Application to be auto-generated. In the same environment, a single Application's manifest change was picked up in about 5 minutes, though the difference could be due to polling timing rather than a fundamental difference.

For existing Applications, hard refresh triggers an immediate sync. But the timing of ApplicationSet generating a new Application depends on the Git Generator's polling cycle — there's no way to force it.

Terminal
# Immediately sync an existing Application
kubectl annotate application <app-name> -n argocd \
  argocd.argoproj.io/refresh=hard --overwrite

If you need faster feedback from CI/CD pipelines, consider configuring webhooks. Full verification details here.

Share this post

Shinya Tahara

Shinya Tahara

Solutions Architect @ AWS

I'm a Solutions Architect at AWS, providing technical guidance primarily to financial industry customers. I share learnings about cloud architecture and AI/ML on this site.The views and opinions expressed on this site are my own and do not represent the official positions of my employer.