argo-cd
argo-cd copied to clipboard
Ability to suspend an argo application
Firstly, thanks for a great tool. It's made life much easier for us!
There are times where I want to 'suspend' an application. That is, I want to temporarily delete it from the cluster and then re-add it. Currently I have to delete the argo application completely and then re-add it into argo. It would be useful if there was a feature where I could suspend it in argo and that would delete the app in the cluster BUT keep the argo application definition ready to re-sync.
Hm. You could have your application definition residing in a dedicated definition modeling the app of apps patterns with auto-sync disabled on the parent.
Then you could cascade-delete the application in question ("child app"), and if you want it back, you just re-sync the parent application.
@jannfis, thanks for the follow-up. I'll have a think on this for a few days and we'll maybe have a discussion internally re your suggestion. Doesn't feel quite right though - I'll get back to you.
This "status" of disabled application could be really useful for development. If I have two projects using the pattern app of apps : project1 : app1, app2 project2 : app1, app2, app3
I would be able (on my development machine) to stop working on project1 and start working on project2 with 2 clicks (or one commit) I don't see a use-case for a production environment.
+1 - I'd love to see a stop, or suspend button for each application in the UI. It would make regular but intermittent workloads much easier to manage. - to extend the notion, a schedule of suspend/resume could be added to only run workloads during certain times and then auto shut them down would be especially nice. Autoscalers would then auto reduce nodes and thus running costs.
+1
+1 - people with app of apps pattern with auto sync on need a way to pause both the parent and child application.
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Not for a prod deployment but for when debugging a dev cluster, pausing deployments would be super useful
+1 ❤️
+1
+1 Much better than commenting out contents of YAML-file if you want to temporarily disable
+1 would be useful
+1 very useful.
+1, would love to see this feature!
+1
+1, It will be help full in production - DR cluster use case. We can disable the application in production cluster and start it in DR cluster in case of DR failover. Will reduce downtime.
Can you not spam +1s? Just leave a thumbs up reaction on the issue.
Can you not spam +1s? Just leave a thumbs up reaction on the issue.
+1, he's right.
+1
+1
+1
+1