Skip to content

Consider backend offers when choosing optimal fleet for run #3020

@r4victor

Description

@r4victor

Current logic for selecting optimal fleet for the run (#2967) considers fleet existing instances. If fleets don't have enough instances and provisioning is required, then it's necessary to consider backend offers that can be provisioning with the fleet because fleet spec is combined with run spec to get requirements (#2969). To choose an optimal fleet, we need to get offers for every candidate fleet. This is currently expensive since offers cache is not reused for different requirements.

If this is implemented efficiently, we may also consider respecting fleet spec when returning offers in run plan, e.g. by returning offers list for every candidate fleet.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions