Does the prefect-worker helm chart do any pod clea...
# prefect-kubernetes
j
Does the prefect-worker helm chart do any pod clean up on completed flow run pods? I know there is a package for prefect-kubernetes that could be useful, but I wasn’t sure if the helm chart itself did that
c
that’s a work-pool configuration I believe - and do you mean Jobs or pods? The pods should clean themselves up once complete, all the jobs might linger as 1/1 completed
j
This message contains interactive elements.
c
Do you have a ttl set on the work pool config ?
It’s not default in the helm chart I believe as that’s for the worker , not the created jobs
j
Ohhhhh no 🙂
That’s something I can fix! Thanks!
1
catjam 1
If I were to set it now, would it go back and clean up those past ones?
c
I don’t believe so, the ttl gets attached to the job spec on creation
So it wouldn’t clean up old existing ones unfortunately
thank you 1
j
That’s okay! I can use kubectl to clean up the old ones for me thank you