Hi, I was wondering if there was a way to stop a s...
# prefect-community
j
Hi, I was wondering if there was a way to stop a scheduled flow if it failed X number of times?
k
Not the X number of times but there is an Automation to pause a schedule. I guess you could keep tally in the KV Store and then hit the GraphQL API upon flow failure to pause the schedule too (don’t use automations)
j
Thanks @Kevin Kho we're running Prefect in our own cluster. We had quite a few pods appear. Should Prefect clean these failed pods?
k
If they ended, I believe it’s cleaned up by k8s eventually
j
In case someone comes across this thread, we have added a pod quota limit to the namespace. We hope this will prevent prefect failed jobs from saturating the cluster.