Auto-delete workflows on archive #2001
Labels
area/gc
Garbage collection, such as TTLs, retentionPolicy, delays, and more
area/workflow-archive
solution/workaround
There's a workaround, might not be great, but exists
type/feature
Feature request
Summary
During the community meeting, I believe something was mentioned like "once a workflow is archived, you can go in and delete it". I think it'd be nice to have a config toggle that makes the behavior automatic.
Motivation
My workflows generate ~large persistent volumes, with ownership set so the volumes get deleted when the workflow is deleted. It'd be ideal if I could configure the Argo server to:
That way volumes get cleaned up automatically in the happy path, but they're kept around for retries when things fail.
Proposal
I'm not sure about the internals, but at the config level I'd expect to see something like this:
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: