kubernetes-sigs / wg-device-management

Prototypes and experiments for WG Device Management.
Apache License 2.0
4 stars 5 forks source link

Update API for 1.31 without partitionable model #36

Open johnbelamaric opened 2 weeks ago

johnbelamaric commented 2 weeks ago

This attempts to update the API to:

1) Remove partitionable model 2) Allow extension points for future addition of partitionable model, in line with the discussions in #20.

This is rough, not exactly what would go into k/k. But I think it has what we need. It allows us to do common attrs and common capacity (common, not shared). It looks little like some of Kevin's earlier prototypes and a sort of simplified version of #31 and #35.

cc @pohly @klueska

k8s-ci-robot commented 2 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbelamaric

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/wg-device-management/blob/main/OWNERS)~~ [johnbelamaric] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
johnbelamaric commented 2 weeks ago

Ok, I simplifed it and now it's basically just a discriminator with a single valid value in 1.31, but more will come.