There are a few cases (such as vlan drivers) in which network resources (IPAM in particular) that are allocated depends on the node at which the task will be dispatched. In the current model, allocator happens prior to scheduler and hence these network drivers will not be able to allocate node level resources.
By swapping allocator & schedular in the pipeline, the allocation module can make use of the scheduling decision and let the IPAM plugin control the allocation decision.
There are a few cases (such as vlan drivers) in which network resources (IPAM in particular) that are allocated depends on the node at which the task will be dispatched. In the current model, allocator happens prior to scheduler and hence these network drivers will not be able to allocate node level resources.
By swapping allocator & schedular in the pipeline, the allocation module can make use of the scheduling decision and let the IPAM plugin control the allocation decision.