Hi Everyone, I have set up a Kubernetes block so t...
# ask-community
n
Hi Everyone, I have set up a Kubernetes block so that each flow run in a seperate pod. But when i run my flow on kubernetes block it gets stuck on the pending state and later it gets crashed. where as when i run without kubernetes block it ran successfully. Can anyone please help me why is this behaviour, can anyone please help me on this
Copy code
Agent started! Looking for work from work pool 'normal-pool'...
07:09:32.910 | INFO    | prefect.agent - Submitting flow run '87c944de-b534-45e2-994a-008a093895b7'
07:09:34.207 | INFO    | prefect.infrastructure.kubernetes-job - Job 'k8sjob-xnxt5': Pod has status 'Pending'.
07:09:34.356 | INFO    | prefect.agent - Completed submission of flow run '87c944de-b534-45e2-994a-008a093895b7'
07:10:12.110 | INFO    | prefect.infrastructure.kubernetes-job - Job 'k8sjob-xnxt5': Pod has status 'Running'.
07:21:15.001 | ERROR   | prefect.infrastructure.kubernetes-job - Job 'k8sjob-xnxt5': Job reached backoff limit.
07:21:15.292 | INFO    | prefect.agent - Reported flow run '87c944de-b534-45e2-994a-008a093895b7' as crashed: Flow run infrastructure exited with non-zero status code 2.