John Muddle

    John Muddle

    4 months ago
    Hi, I was wondering if there was a way to stop a scheduled flow if it failed X number of times?
    Kevin Kho

    Kevin Kho

    4 months ago
    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)
    John Muddle

    John Muddle

    4 months ago
    Thanks @Kevin Kho we're running Prefect in our own cluster. We had quite a few pods appear. Should Prefect clean these failed pods?
    Kevin Kho

    Kevin Kho

    4 months ago
    If they ended, I believe it’s cleaned up by k8s eventually
    John Muddle

    John Muddle

    4 months ago
    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.