project-akri / akri-docs

Documentation for Akri
https://docs.akri.sh/
Apache License 2.0
8 stars 21 forks source link

Add uniqueDevices spec to Configuration level resource proposal #72

Closed johnsonshih closed 1 year ago

johnsonshih commented 1 year ago

This PR adds the new attribute called 'uniqueDevices' into Akri Configuration and adds the different behaviors of Configuration level resource based on the value of 'uniqueDevices'. When uniqueDevices is true, CL device plugin allocates devices based on instance availablity. When uniqueDevices is false, CL device plugin allocates devices based on deviceUsage availablity.

johnsonshih commented 1 year ago

Decide to just keep the behavior that uniqueDevices=true, no need to update the document.