Skip to content

Automatic deletion of successfully completed AppWrappers after successTTLDuration #353

Open
@dgrove-oss

Description

@dgrove-oss

Name of Feature or Improvement

Delete successfully completed AppWrappers after successTLLDuration

Description of Problem the Feature Should Solve

Currently when successTLLDuration expires a successfully completed AppWrapper
deletes the wrapped resources, but the AppWrapper itself is not deleted.

Users have requested a complete cleanup (similar to Job) where after successTLLDurartion
expires, the AppWrapper is also automatically deleted by the system.

Describe the Solution You Would Like to See

I would propose implementing this guarded by an operator-level configuration. It would default to
enabled, but could be disabled via the configuration for a cluster by a batch-admin. An alternative would
be to support per-AppWrapper annotations to allow opt-out (or opt-in), but there isn't a strong demand
for keeping successfully completed AppWrappers around indefinitely on clusters where the normal
case is to clean them up

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions