Page MenuHomePhabricator

Garbage collect completed Jobs after 100 seconds
ClosedPublic

Authored by max on Jan 8 2020, 5:04 PM.

Details

Summary

Sets ttl_seconds_after_finished

Test Plan

Unit

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

max created this revision.Jan 8 2020, 5:04 PM
nate accepted this revision.Jan 8 2020, 5:07 PM

https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/ this is alpha in recent kubernetes, worth checking whether this API invocation will fail when talking to an older kubernetes cluster

This revision is now accepted and ready to land.Jan 8 2020, 5:07 PM
max updated this revision to Diff 8685.Jan 14 2020, 7:27 PM

Rebase

max updated this revision to Diff 8686.Jan 14 2020, 7:46 PM

Test spec

max updated this revision to Diff 8689.Jan 14 2020, 8:07 PM

Fixup job spec