https://prefect.io logo
Title
f

Florian Guily

07/11/2022, 10:04 AM
Hey, prefect 1 here, just noticed that i have a flow in a "cancelling" status for 3 days now (i just noticed it now with the week end...) it is running on an eks fargate node also for 3 days and i don't know how to terminate it. Should i just kill the pod ?
1
a

Anna Geller

07/11/2022, 10:56 AM
Yup, you're spot on, you can kill the pod, manually delete the Kubernetes flow run job if needed + set the flow run state to Failed in the UI
🙏 1
f

Florian Guily

07/11/2022, 12:32 PM
Thanks! How could i prevent this to happen again ?
a

Anna Geller

07/11/2022, 12:49 PM
it depends on what was the root cause of this cancellation
f

Florian Guily

07/11/2022, 12:50 PM
if i remember correctly it was from the ui
a

Anna Geller

07/11/2022, 1:03 PM
ahh gotcha, this is hard to do since Prefect doesn't have access to your infra and doing sth like killing a pod is hard (if not impossible) to do without access to the infra