Is there a way to setup "auto-cleanup" of old exec...
# ask-the-community
a
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
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
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
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
that's fine, they are gone today. just me being impatient 🙂
k
haha
162 Views