How can we auto cleanup k8s worker pool's completed and failed job #11201
Unanswered
schwannden
asked this question in
Q&A
Replies: 1 comment
-
We encountered the same issue before. We set TTL for K8s job and it did help. However, we noticed that half of jobs are not automatically deleted and still take up resources. Finally, we ended up using K8s API for killing the job right before exiting Prefect flow and it's been working well so far. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have setup prefect server and worker using helm chart, and was able to run seleral workflows. However I noticed that after flowrun complete, kubectl get pod shows the pods still exist. Here is my prefect.yaml
Beta Was this translation helpful? Give feedback.
All reactions