Skip to content

balloons: support affinity to extended resources from device plugins#720

Open
askervin wants to merge 4 commits into
containers:mainfrom
askervin:5iG-balloons-podresources
Open

balloons: support affinity to extended resources from device plugins#720
askervin wants to merge 4 commits into
containers:mainfrom
askervin:5iG-balloons-podresources

Conversation

@askervin

@askervin askervin commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

preferCloseToDevices supports "podresourceapi:example.com/device"

Enable CPU selection based on locality of individual container's physical devices. podresourceapi:RESOURCE syntax allows specifying which physical device(s) (matching logical resources to given glob-expression) is preferred to be local to container's CPUs.

In order to allocate all container's CPUs near container's physical device, the container must be placed into a new balloon. Technically, this changes balloon creation internals: so far CPU selection to a new balloon has been affected by balloon types and instances only, but after this change the first container put into a new balloon may affect it, too.

askervin added 4 commits July 22, 2026 18:11
Enable CPU selection based on locality of individual container's
physical devices. podresourceapi:<resource> syntax allows specifying
which physical device(s) is preferred to be local to container's CPUs.

In order to allocate all container's CPUs near container's physical
device, the container must be placed into a new balloon. Technically,
this changes balloon creation internals: so far CPU selection to a new
balloon has been affected by balloon types and instances only, but
after this change the first container put into a new balloon may
affect it, too.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
@askervin
askervin force-pushed the 5iG-balloons-podresources branch from 7420a1c to ed093c0 Compare July 22, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant