Create dynamic pool in Airflow
问题 I have a DAG that creates a cluster, starts computation tasks, and after they completed, tears down the cluster. I want to limit concurrency for the computation tasks carried on this cluster to fixed number. So logically, I need a pool that is exclusive to the cluster created by a task. I don't want interference with other DAGs or different runs of the same DAG. I thought I could solve this problem by creating a pool dynamically from a task after the cluster is created and delete it once the