https://flyte.org logo
a

Aleksei Potov

06/30/2022, 9:42 PM
Is there a way to setup "auto-cleanup" of old executions (e.g. older than couple days)? Asking because pods are not deleted until execution is deleted, so we are ending up with a like a gazillion of completed pods. Or there's another solution for not having completed pods lying around?
k

Ketan (kumare3)

06/30/2022, 10:10 PM
ohh they should be - there is GC in propeller config
ohh there is way to force delete a pod on competion
we keep them around for logs
a

Aleksei Potov

06/30/2022, 10:16 PM
actually, I see that default for
max-ttl-hours
is 23hours. we just got setup today, so maybe they will go away by themselves 😊
k

Ketan (kumare3)

07/01/2022, 5:48 PM
they will only go away after the workflow completes though
if you want them to be cleaned up as soon as the pod completes, then you have to use the other setting
a

Aleksei Potov

07/01/2022, 6:19 PM
that's fine, they are gone today. just me being impatient 🙂
k

Ketan (kumare3)

07/01/2022, 11:24 PM
haha
3 Views