Skip to content

Support targeted instance creation with compute allocations BMM-core #523

@bcavnvidia

Description

@bcavnvidia

-core now has a concept "compute allocations" so that the "allocation" source of truth can be shifted from -rest to -core.

Before enforcement can be turned on, it will need some way of handling targeted instance creation, where only a machine ID is specified in -rest but no instance type ID.

-rest uses the presence of a machine ID in the request to determine "targeted creation" because the normal behavior is to non-targeted, but sending in an instance type ID, but -rest to -core always has machine ID present.

One option to have -core aware of targeted vs non-targeted could be whether instance type ID were sent, and we would then, among other small changes, also need to adjust the DB function that "persists" the new instances to not inherit the instance type ID from the parent machine.

Metadata

Metadata

Assignees

Labels

apiaffects API surface area

Type

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions