Feature #16738
Updated by Ward Vandewege over 4 years ago
a-d-c currently does not take the instance type into consideration when it handles cloud quota.
In practice, cloud vendors have a vCPU quota by instance family (Azure) or instance type (AWS).
That means that if a-d-c hits a quota limit, it will stop starting any new nodes, even if the quota only applies to certain instance types or a specific instance family while a-d-c is configured to also use other instance types.
AWS has one combined vCPU limit for "standard" instances, i.e. (A, C, D, H, I, M, R, T, Z) types
and a separate vCPU limit each for G, Inf, P, X, and F instances.
Azure has a vCPU limit per instance family (e.g. DSv2, Dv2, etc).
We need a "quota partition" concept. Node definitions should be assigned a quota partition, and a-d-c should take those partitions into account when dealing with quota.