When using CeleryExecutor all the tasks by default are sent to the default queue.
If you update the [cwl] section of the airflow.cfg file with the following parameter:
CWL-Airflow will try to assign the task to the lowest possible queue among the sorted ones by cpus and ram. If ResourceRequirement is not specified or is not compete - use the lowest queue.
JobCleanup and JobDispatcher are also assigned to the lowest queue.
When using
CeleryExecutor
all the tasks by default are sent to thedefault
queue. If you update the[cwl]
section of theairflow.cfg
file with the following parameter:where
queues.yaml
may look like thisCWL-Airflow will define queue based on the
ResourceRequirement
section of the workflow step. The step may look like thisCWL-Airflow will try to assign the task to the lowest possible queue among the sorted ones by
cpus
andram
. IfResourceRequirement
is not specified or is not compete - use the lowest queue. JobCleanup and JobDispatcher are also assigned to the lowest queue.