Andreas Nigg

06/10/2022, 6:17 PM
Hey, quick question, prefect 2.0: I can't figure out how to set time to live or successful/failed job history limits for k8s jobs which were spawned from a kubernetes orion agent. Everything works fine, but I've got hundreds of completed/failed jobs (and corresponding pods) lying around. Is there a way to configure job history limits, or configure automatic cleanup? (Now that I think about it, I could also use a prefect flow to clean up, but maybe that's too much 😄 )

Kevin Kho

06/10/2022, 6:55 PM
There is this isssue for that and cleanup is going to be out in 2.0b7
👍 1