Skip to content

add support for resource partitions - #2482

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

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

Conversation

@anmaxvl

@anmaxvl 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
anmaxvl requested a review from a team as a code owner July 17, 2025 01:06
@anmaxvl
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
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 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

anmaxvl commented Aug 4, 2025

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
anmaxvl added 3 commits August 4, 2025 18:49
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
anmaxvl force-pushed the resource-partition-support branch from 8e8df58 to f6b9597 Compare August 5, 2025 01:50
@anmaxvl anmaxvl changed the title add support for resource pools add support for resource partitions Aug 5, 2025

@jterry75 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

@msscotb msscotb assigned helsaawy, jterry75 and msscotb and unassigned jterry75 Aug 6, 2025
@anmaxvl
anmaxvl merged commit 379a2ae into microsoft:main Sep 3, 2025
28 of 29 checks passed
@anmaxvl
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