argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

Ability to suspend an argo application

Open andye2004 opened this issue 5 years ago • 47 comments

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.

andye2004 avatar Jan 28 '20 01:01 andye2004

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 avatar Jan 28 '20 18:01 jannfis

@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.

andye2004 avatar Jan 29 '20 01:01 andye2004

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.

dcharbonnier avatar Jan 12 '21 16:01 dcharbonnier

+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.

jeacott1 avatar Oct 12 '21 03:10 jeacott1

+1

danielepanzeri avatar Oct 18 '21 09:10 danielepanzeri

+1 - people with app of apps pattern with auto sync on need a way to pause both the parent and child application.

Kampe avatar Oct 21 '21 18:10 Kampe

+1

hilenko avatar Nov 11 '21 10:11 hilenko

+1

ghost avatar Dec 08 '21 02:12 ghost

+1

davem-git avatar Dec 13 '21 17:12 davem-git

+1

nikcollins avatar Jan 10 '22 17:01 nikcollins

+1

marcelofabricanti avatar Jan 13 '22 12:01 marcelofabricanti

+1

armenr avatar Jan 21 '22 20:01 armenr

+1

vmironichev-nix avatar Feb 28 '22 12:02 vmironichev-nix

+1

tanalam2411 avatar Mar 08 '22 15:03 tanalam2411

+1

achetronic avatar Mar 30 '22 14:03 achetronic

+1

Not for a prod deployment but for when debugging a dev cluster, pausing deployments would be super useful

Cave-Johnson avatar Apr 05 '22 22:04 Cave-Johnson

+1 ❤️

JBogossianKH avatar Apr 12 '22 14:04 JBogossianKH

+1

Va1 avatar Aug 16 '22 16:08 Va1

+1 Much better than commenting out contents of YAML-file if you want to temporarily disable

kschjeld avatar Sep 01 '22 07:09 kschjeld

+1 would be useful

zoop-btc avatar Oct 05 '22 07:10 zoop-btc

+1 very useful.

Mahesh-Gunda-Maersk avatar Nov 09 '22 06:11 Mahesh-Gunda-Maersk

+1, would love to see this feature!

filipdadgar avatar Dec 11 '22 11:12 filipdadgar

+1

elendis avatar Jan 04 '23 13:01 elendis

+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.

meetzuber avatar Jan 19 '23 21:01 meetzuber

Can you not spam +1s? Just leave a thumbs up reaction on the issue.

cedws avatar Feb 09 '23 09:02 cedws

Can you not spam +1s? Just leave a thumbs up reaction on the issue.

+1, he's right.

armenr avatar Feb 10 '23 10:02 armenr

+1

medoedoff avatar Feb 14 '23 10:02 medoedoff

+1

mat-work avatar Feb 22 '23 14:02 mat-work

+1

agusserraetendo avatar Jun 13 '23 12:06 agusserraetendo

+1

eaceaser avatar Jun 15 '23 18:06 eaceaser