enhancements icon indicating copy to clipboard operation
enhancements copied to clipboard

DRA: structured parameters

Open pohly opened this issue 1 year ago • 42 comments

Enhancement Description

  • One-line enhancement description (can be used as a release note): The original dynamic resource allocation (DRA) uses claim and class parameters that are opaque to Kubernetes. With structured parameters, kube-scheduler and Cluster Autoscaler can handle respectively simulate claim allocation themselves without relying on a third-party driver.

  • Kubernetes Enhancement Proposal: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/4381-dra-structured-parameters/

  • Discussion Link: Batch WG meeting 20231207, DRA intro and plan in that meeting

  • Primary contact (assignee): @pohly

  • Responsible SIGs: SIG Node

  • Enhancement target (which target equals to which milestone):

    • Alpha release target (x.y): 1.30
    • Beta release target (x.y):
    • Stable release target (x.y):
  • [x] Alpha in 1.30

    • [x] KEP (k/enhancements) update PR(s): https://github.com/kubernetes/enhancements/pull/4384
    • [x] Code (k/k) update PR(s): https://github.com/kubernetes/kubernetes/pull/123516
    • [x] Docs (k/website) update PR(s): https://github.com/kubernetes/website/pull/45287
  • [x] Alpha in 1.31

    • [x] KEP (k/enhancements) update PR(s): https://github.com/kubernetes/enhancements/pull/4709
    • [x] Code (k/k) update PR(s): https://github.com/kubernetes/kubernetes/pull/125488
    • [x] Docs (k/website) update PR(s): https://github.com/kubernetes/website/pull/46816
  • [ ] Beta in 1.32

    • [x] KEP (k/enhancements) update PR(s): https://github.com/kubernetes/enhancements/pull/4869
    • [ ] Code (k/k) update PR(s):
      • [ ] https://github.com/kubernetes/kubernetes/pull/127661
      • [ ] https://github.com/kubernetes/kubernetes/pull/127266
      • [ ] https://github.com/kubernetes/kubernetes/pull/127511
    • [ ] Docs (k/website) update(s): https://github.com/kubernetes/website/pull/48330

pohly avatar Jan 04 '24 16:01 pohly

/sig node /wg batch

The rationale behind creating a separate KEP is that this is an extension of DRA that (at least in theory) could graduate at its own pace. The KEP document itself also will be shorter, which will make discussing it easier.

pohly avatar Jan 04 '24 16:01 pohly

/stage alpha /milestone v1.30

SergeyKanzhelev avatar Jan 26 '24 23:01 SergeyKanzhelev

/milestone v1.30 /label lead-opted-in

klueska avatar Feb 07 '24 22:02 klueska

@klueska: You must be a member of the kubernetes/milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Milestone Maintainers Team and have them propose you as an additional delegate for this responsibility.

In response to this:

/milestone v1.30 /label lead-opted-in

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Feb 07 '24 22:02 k8s-ci-robot

@SergeyKanzhelev can we get this added to the 1.30 milestone?

johnbelamaric avatar Feb 07 '24 22:02 johnbelamaric

/label lead-opted-in

johnbelamaric avatar Feb 07 '24 22:02 johnbelamaric

@klueska: Can not set label lead-opted-in: Must be member in one of these teams: [release-team-enhancements release-team-leads sig-api-machinery-leads sig-apps-leads sig-architecture-leads sig-auth-leads sig-autoscaling-leads sig-cli-leads sig-cloud-provider-leads sig-cluster-lifecycle-leads sig-contributor-experience-leads sig-docs-leads sig-instrumentation-leads sig-k8s-infra-leads sig-multicluster-leads sig-network-leads sig-node-leads sig-release-leads sig-scalability-leads sig-scheduling-leads sig-security-leads sig-storage-leads sig-testing-leads sig-windows-leads]

In response to this:

/milestone v1.30 /label lead-opted-in

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Feb 07 '24 22:02 k8s-ci-robot

/label lead-opted-in /milestone v1.30

SergeyKanzhelev avatar Feb 07 '24 22:02 SergeyKanzhelev

Hello @pohly 👋, Enhancements team here.

Just checking in as we approach enhancements freeze on 02:00 UTC Friday 9th February 2024.

This enhancement is targeting for stage alpha for v1.30 (correct me, if otherwise)

Here's where this enhancement currently stands:

  • [ ] KEP readme using the latest template has been merged into the k/enhancements repo.
  • [x] KEP status is marked as implementable for latest-milestone: 1.30.
  • [x] KEP readme has up-to-date graduation criteria
  • [ ] KEP has a production readiness review that has been completed and merged into k/enhancements. (For more information on the PRR process, check here).

For this KEP, we would just want to update the following but it's not required for alpha stage and it will serve for future stages:

  • Make sure that the #4384 is merged to the k/enhancements repo.

The status of this enhancement is marked as At risk for enhancement freeze. Please keep the issue description up-to-date with appropriate stages as well, I couldn't find any related PR regarding this KEP in k/enhancements. Thank you!

salehsedghpour avatar Feb 08 '24 21:02 salehsedghpour

With all the requirements fulfilled this enhancement is now marked as tracked for the upcoming enhancements freeze 🚀

salehsedghpour avatar Feb 09 '24 02:02 salehsedghpour

Hello @pohly 👋, 1.30 Docs Lead here.

Does this enhancement work planned for 1.30 require any new docs or modification to existing docs? If so, please follows the steps here to open a PR against dev-1.30 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Thursday February 22nd 2024 18:00 PDT.

Also, take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release. Thank you!

drewhagen avatar Feb 15 '24 17:02 drewhagen

Hi @pohly

👋 from the v1.30 Communications Team! We'd love for you to opt in to write a feature blog about your enhancement!

We encourage blogs for features including, but not limited to: breaking changes, features and changes important to our users, and features that have been in progress for a long time and are graduating.

To opt in, you need to open a Feature Blog placeholder PR against the website repository. The placeholder PR deadline is 27th February, 2024. Here's the 1.30 Release Calendar

fkautz avatar Feb 16 '24 04:02 fkautz

Doc PR for 1.30 created and linked to in the description.

pohly avatar Feb 22 '24 14:02 pohly

Hey again @pohly 👋 Enhancements team here,

Just checking in as we approach code freeze at 02:00 UTC Wednesday 6th March 2024 .

Here's where this enhancement currently stands:

  • [ ] All PRs to the Kubernetes repo that are related to your enhancement are linked in the above issue description (for tracking purposes).
  • [ ] All PR/s are ready to be merged (they have approved and lgtm labels applied) by the code freeze deadline. This includes tests.

For this enhancement, I couldn't find any (open) PRs in k/k. With this, it is now marked as at risk for code freeze for the v1.30 Code Freeze!

Please let me know if there are other PRs in k/k we should be tracking for this KEP. As always, we are here to help if any questions come up. Thanks!

salehsedghpour avatar Feb 23 '24 00:02 salehsedghpour

Hello @pohly 👋 Enhancements team here,

Unfortunately, the implementation (code related) PR(s) associated with this enhancement is not in the merge-ready state by code-freeze and hence this enhancement is now removed from the v1.30 milestone.

If you still wish to progress this enhancement in v1.30, please file an exception request. Thanks!

/milestone clear

salehsedghpour avatar Mar 06 '24 08:03 salehsedghpour

With the exception request being approved, this can now be marked as tracked for code freeze

/milestone v1.30

salehsedghpour avatar Mar 06 '24 19:03 salehsedghpour