Skip to content

add support for resource partitions - #2482

Merged
Maksim An (anmaxvl) merged 3 commits into
microsoft:mainfrom
anmaxvl:resource-partition-support
Sep 3, 2025
Merged

add support for resource partitions#2482
Maksim An (anmaxvl) merged 3 commits into
microsoft:mainfrom
anmaxvl:resource-partition-support

Conversation

@anmaxvl

@anmaxvl Maksim An (anmaxvl) commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

Adds annotation for resource partition id, when present, set the
corresponding field on HCS doc (no-op for now), the rest
will be handled by HCS.

@anmaxvl
Maksim An (anmaxvl) requested a review from a team as a code owner July 17, 2025 01:06
@anmaxvl
Maksim An (anmaxvl) force-pushed the resource-partition-support branch from 62679ee to 1a715ac Compare July 17, 2025 03:53
Comment thread internal/tools/uvmboot/main.go Outdated
Comment thread internal/uvm/create.go Outdated
@anmaxvl
Maksim An (anmaxvl) force-pushed the resource-partition-support branch from 1a715ac to d4847f8 Compare July 31, 2025 22:14
Comment thread internal/oci/annotations.go
Comment thread internal/oci/uvm.go Outdated

@jterry75 Justin (jterry75) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change in conflict with the use of others like the processor cpu group id or the memory job object names? Do we need to do an either or check? Left a few other comments.

@anmaxvl

Copy link
Copy Markdown
Contributor Author

Is this change in conflict with the use of others like the processor cpu group id or the memory job object names? Do we need to do an either or check? Left a few other comments.

good point. I don't think we allow setting memory job object names though.

Comment thread internal/tools/uvmboot/main.go Outdated
Adds annotation for resource partition id, when present, set the
corresponding field on HCS doc (no-op for now), the rest will be
handled by HCS.

Signed-off-by: Maksim An <maksiman@microsoft.com>
Signed-off-by: Maksim An <maksiman@microsoft.com>
- better error messages
- update doc strings
- rename from pool to partition
- add validation for resource partitions

Signed-off-by: Maksim An <maksiman@microsoft.com>
@anmaxvl
Maksim An (anmaxvl) force-pushed the resource-partition-support branch from 8e8df58 to f6b9597 Compare August 5, 2025 01:50
@anmaxvl Maksim An (anmaxvl) changed the title add support for resource pools add support for resource partitions Aug 5, 2025

@jterry75 Justin (jterry75) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anmaxvl
Maksim An (anmaxvl) merged commit 379a2ae into microsoft:main Sep 3, 2025
28 of 29 checks passed
@anmaxvl
Maksim An (anmaxvl) deleted the resource-partition-support branch November 22, 2025 08:12
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.

6 participants