Thread
#prefect-community
    a

    Andreas Nigg

    3 months ago
    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

    Kevin Kho

    3 months ago
    There is this isssue for that and cleanup is going to be out in 2.0b7