0

We have a namespace consisting of 3 applications:

  • Database patcher
  • API
  • Web site

Currently we are using ArgoCD app-of-apps pattern to roll this out. Each application above is therefore it's own ArgoCD application.

I want the database patcher to be rolled out before the other two applications and I want the entire deployment of all applications to halt if the database patcher fails.

Is this possible with app-of-apps pattern?

3
  • faun.pub/managing-database-migrations-in-argocd-b54d2a29a554 Commented Oct 16 at 16:58
  • That works fine with one Argo application. In my case I have 3 Argo applications. It doesn't look like there is any relationship between these applications so there is not really a way to say that App 2 depends on the success of App 1 Commented Oct 17 at 6:33
  • If I put all services (jobs, api's, web sites) into one helm deployment and one ArgoCD application it seems to work as the database job is marked with preSync hook. But arranging the applications as multiple helm deployments and argo applications does not seem to work. Commented Oct 17 at 6:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.