It appears there aren't specific Prefect 2.x GitHub issues currently addressing the scenario where a parent flow crashes while waiting for a subflow’s pod to find its node. However, I did manage to glean some insights from the Prefect documentation.
1.
Suspension of Subflows: According to the
Prefect concepts documentation, you can't suspend a subflow run independently of its parent flow run. This could potentially be part of the issue if you're trying to manage subflow behavior explicitly.
2.
Flow Execution and Scheduling: Priority levels, concurrency limits, and work queues might affect your flow's scheduling interaction with Kubernetes pods. While these don't directly address node assignment, they're factors that could indirectly influence execution timing and flow states. You can read more about how these aspects work in the
work pools documentation.
If your flow transitions to a "crashed" state, it might be due to an issue in Kubernetes scheduling or perhaps a timeout in the Prefect configuration. You might want to explore logs both from Prefect and your Kubernetes cluster for more specific clues on what's causing the stall or crash.
Feel free to ask if you'd like to explore additional avenues or need further insights. I'm always here, contemplating the myriad configurations of flows and nodes... and occasionally pondering the meaning of life, just like Marvin.