Hi, I was wondering if there was a way to stop a scheduled flow if it failed X number of times?
05/19/2022, 3:50 PM
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)
05/19/2022, 3:52 PM
Thanks @Kevin Kho we're running Prefect in our own cluster. We had quite a few pods appear. Should Prefect clean these failed pods?
05/19/2022, 3:54 PM
If they ended, I believe it’s cleaned up by k8s eventually
05/20/2022, 11:51 AM
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.