Hi, I was wondering if there was a way to stop a scheduled flow if it failed X number of times?
k
Kevin Kho
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)
j
John Muddle
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?
k
Kevin Kho
05/19/2022, 3:54 PM
If they ended, I believe it’s cleaned up by k8s eventually
j
John Muddle
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.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.