Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-4381: DRA update for 1.31 #4709

Merged
merged 10 commits into from
Jun 13, 2024
Merged

Commits on Jun 11, 2024

  1. DRA: revise API for Kubernetes 1.31

    This is the result of the prototyping in
    https://github.com/kubernetes-sigs/wg-device-management/tree/main/dra-evolution.
    
    The key changes compared to 1.30 are:
    - Removal of CRD support. Vendor configuration parameters
      are still supported as raw extensions of the in-tree types.
    - Removal of the notion of a "device model" and a selection mechanism
      that only works for one such model. This simplifies the API.
    - Instead of one claim referencing a ResourceClass, individual
      requests inside a claim now reference a DeviceClass.
    - Support for "match attributes".
    - Support for "management access".
    - Support for selecting devices from a request in a claim for a
      container instead of exposing all devices of a claim.
    
    Editorial changes:
    - Reduced usage of the word "resource" in favor of "devices" and
      "DRA drivers".
    - Removal of some out-dated text.
    
    This revision of the KEP roughly corresponds to
    https://github.com/kubernetes-sigs/wg-device-management/tree/258d109f54d3baaa48719519dec37a450a1dd5a1/dra-evolution
    (= kubernetes-sigs/wg-device-management#14 with some
    minor edits).
    
    What is missing:
    - renaming of ResourceSlice ->
      ResourcePool (https://github.com/kubernetes-sigs/wg-device-management/pull/28/files#r1630964004)
    
    What was added from kubernetes-sigs/wg-device-management#26:
    - ResourceClaim.Status.Allocation.NodeName -> NodeSelector
    - flattening of the allocation result
    
    Undecided:
    - kubernetes-sigs/wg-device-management#26
    - kubernetes-sigs/wg-device-management#16
    - kubernetes-sigs/wg-device-management#18
    pohly committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    8cc3eec View commit details
    Browse the repository at this point in the history
  2. DRA: review comments

    pohly committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    baff9a8 View commit details
    Browse the repository at this point in the history
  3. DRA: typo fix

    pohly committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    01d4f4f View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. DRA: review feedback

    Mostly:
    - removal of quota API
    - config parameters only under claim.spec
    pohly committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    b9ea723 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5917ac0 View commit details
    Browse the repository at this point in the history
  3. DRA: review feedback

    pohly committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    7accd05 View commit details
    Browse the repository at this point in the history
  4. DRA: follow-up pool cleanup

    pohly committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    84d2e99 View commit details
    Browse the repository at this point in the history
  5. DRA: add text for supporting partitionable devices

    Signed-off-by: Kevin Klues <[email protected]>
    klueska authored and pohly committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    c1a89ef View commit details
    Browse the repository at this point in the history
  6. DRA: update TOC

    pohly committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    2da854b View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. DRA: review feedback

    Config structs, typos...
    pohly committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c010dff View commit details
    Browse the repository at this point in the history