Skip to content

DRA resourcepoolstatusrequest - #56352

Merged
kubernetes-prow[bot] merged 6 commits into
kubernetes:dev-1.37from
nmn3m:dra-resource-pool-status-request
Aug 4, 2026
Merged

DRA resourcepoolstatusrequest#56352
kubernetes-prow[bot] merged 6 commits into
kubernetes:dev-1.37from
nmn3m:dra-resource-pool-status-request

Conversation

@nmn3m

@nmn3m nmn3m commented Jul 1, 2026

Copy link
Copy Markdown
Member

Description

DRA Resource Availability Visibility

Issue

kubernetes/enhancements#5677

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 1, 2026
@kubernetes-prow kubernetes-prow Bot added this to the 1.37 milestone Jul 1, 2026
@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

👷 Deploy Preview for kubernetes-io-vnext-staging processing.

Name Link
🔨 Latest commit 47a5bc8
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-vnext-staging/deploys/6a6be599947cf40008f1b40f

@kubernetes-prow kubernetes-prow Bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 1, 2026
@netlify

netlify Bot commented Jul 1, 2026

Copy link
Copy Markdown

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 47a5bc8
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/6a6be5991a0f270008d75728
😎 Deploy Preview https://deploy-preview-56352--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kernel-kun

kernel-kun commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Hi @nmn3m 👋! v1.37 Docs team here

We noticed that this Pull Request is currently in the Open state.

Note

Could you please confirm:

  1. Are all of the required changes done from your end?
  2. Is this PR now awaiting a technical review from your required SIGs/WGs?

Important

Upcoming Docs Deadlines:

  • PR Ready for Review: Tuesday 28th July 2026
  • Docs Freeze: Wednesday 5th August 2026 (AoE) / Thursday 6th August 2026, 12:00 UTC

Please let us know so we can track this accurately on our end.

Thanks!

@nmn3m

nmn3m commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

@kernel-kun
Hi, 👋
PR will be ready in few days.
It is related to this issue. kubernetes/enhancements#5677

@nojnhuh

nojnhuh commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

/wg device-management

@kubernetes-prow kubernetes-prow Bot added the wg/device-management Categorizes an issue or PR as relevant to WG Device Management. label Jul 22, 2026
@pohly pohly moved this from 🆕 New to 🏗 In progress in Dynamic Resource Allocation Jul 23, 2026
@kubernetes-prow kubernetes-prow Bot added language/en Issues or PRs related to English language needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 26, 2026
@nmn3m nmn3m changed the title WIP: Placeholder for DRA resourcepoolstatusrequest" DRA resourcepoolstatusrequest Jul 26, 2026
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 26, 2026
nmn3m added 2 commits July 26, 2026 19:44
…ol-status-request

# Conflicts:
#	content/en/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md
@kubernetes-prow kubernetes-prow Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 26, 2026
@nmn3m

nmn3m commented Jul 26, 2026

Copy link
Copy Markdown
Member Author

/cc @johnbelamaric

@kubernetes-prow
kubernetes-prow Bot requested a review from johnbelamaric July 26, 2026 16:48

@johnbelamaric johnbelamaric left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/approve

for DRA content

@nmn3m

nmn3m commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

/cc @natalisucks

@kubernetes-prow
kubernetes-prow Bot requested a review from natalisucks July 28, 2026 12:33
@singh1203

Copy link
Copy Markdown
Member

/sig docs

@kubernetes-prow kubernetes-prow Bot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Jul 29, 2026
- `partitionSummary`: for [partitionable](/docs/concepts/resource-management/dynamic-resource-allocation/dra-features/#partitionable-devices)
pools, per-partition-type allocatability (see
[Partition and shareable summaries](#resource-pool-partition-shareable-summaries)).
- `shareableSummary`: for pools with shareable devices, aggregate capacity

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.

Does this map to the DRAConsumableCapacity feature? If so, could we link to those docs at /docs/concepts/resource-management/dynamic-resource-allocation/dra-features/#consumable-capacity like you have for partitionable devices?

slice) that draw from the same shared counters. Because these partitions compete
for the same underlying capacity, a plain device count does not tell you how many
of each type can still be allocated. The `partitionSummary` view answers that
question: for each partition type it reports:

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.

nit: The double colon feels a bit clunky. A new sentence might flow better.

Suggested change
question: for each partition type it reports:
question. For each partition type it reports:

Comment on lines +182 to +184
- `attribute`: the fully qualified device attribute name whose value groups this
entry.
- `type`: the partition type value (for example, `Full` or `Half`).

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.

Could the docs mention where these values come from? i.e. that attribute matches the ResourceSlice's spec.partitionTypeAttribute or ResourcePoolStatusRequest's spec. defaultPartitionTypeAttribute and type is the value of that attribute. I think that would help tie in the examples below.

Comment on lines +166 to +168
### Partition and shareable summaries {#resource-pool-partition-shareable-summaries}

{{< feature-state feature_gate_name="DRAPartitionableDevicesType" >}}

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.

Would it make sense to split this into separate sections for partitionable devices and shareable devices? Especially if the shareable summaries aren't tied to the DRAPartitionableDevicesType feature gate.

Comment on lines +182 to +183
- `attribute`: the fully qualified device attribute name whose value groups this
entry.

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.

Can this attribute only be of type string or are other types converted before being represented in the type field? It might also be worth calling out how this interacts with the DRAListTypeAttributes feature, or if those aren't handled.

These would also be good to mention in the API docs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

  • String only. It reads only attr.StringValue; if that's nil (int, bool, version or absent), it returns no partition type. Nothing is converted/stringified. Such a device then produces a PartitionTypeMissing validation error for the pool instead of a partition summary.
  • No DRAListTypeAttributes interaction. No shared code path a list-type attribute has StringValue == nil, so it's treated like any other non-string attribute. Not special-cased.

@nmn3m
nmn3m requested review from johnbelamaric and nojnhuh July 30, 2026 11:01

@nojnhuh nojnhuh 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.

Just one more small comment. Otherwise looking good, thanks!


**Shareable summary.** For pools that contain devices allowing multiple
allocations, `shareableSummary` reports aggregate capacity usage across the pool:
The `partitionSummary` view is an *alpha feature*. In addition to the

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.

#56295 dropped the inline alpha/beta qualifier in text like this in favor of the rendered feature-state components. Features tend to be described like this now:

Extended resource allocation by DRA is controlled by the
[`DRAExtendedResource` feature gate](/docs/reference/command-line-tools-reference/feature-gates/#DRAExtendedResource)
in the `kube-apiserver`, `kube-scheduler`, `kube-controller-manager`, and `kubelet`.

@nmn3m

nmn3m commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

Just one more small comment. Otherwise looking good, thanks!

cc @nojnhuh Thanks for the feedback.
If it seems good, can you please add lgtm so we can ask the doc team for final approval.

@nmn3m
nmn3m requested a review from nojnhuh July 31, 2026 00:02

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

Thanks!

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 31, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 6fcb443a62e971e621ae7300e2d1163c564d0641

@katcosgrove

Copy link
Copy Markdown
Contributor

/approve

Thank you!

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbelamaric, katcosgrove, nojnhuh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit f29c941 into kubernetes:dev-1.37 Aug 4, 2026
6 checks passed
@nojnhuh nojnhuh moved this from 🏗 In progress to ✅ Done in Dynamic Resource Allocation Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. wg/device-management Categorizes an issue or PR as relevant to WG Device Management.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

7 participants