Skip to content

Commit e21648e

Browse files
authored
Merge pull request #5528 from yliaog/master
KEP-5004: added rationale for deterministically picking a device class for an extended resource when there are multiple device classes matching
2 parents cebf304 + e0e9e08 commit e21648e

File tree

1 file changed

+4
-2
lines changed
  • keps/sig-scheduling/5004-dra-extended-resource

1 file changed

+4
-2
lines changed

keps/sig-scheduling/5004-dra-extended-resource/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,10 @@ same cluster can have the same named extended resource backed by Device Plugin.
311311
The extended resource name to DRA device mapping can be specified at
312312
`DeviceClassSpec`. The same extended resource name should be given to at most one
313313
device class. If there are more than one device classes, the one created later is picked
314-
at scheduling time, if two are created at the same time, the name
315-
lexicographically sorted first is picked.
314+
at scheduling time, if two are created at the same time, the name lexicographically
315+
sorted first is picked, this gives a non-disruptive non-error way to transition an
316+
extended resource from being backed by one device class to being backed by another
317+
(create new device class, update old device class to clear the extended resource field).
316318

317319
Cluster administrator is soly responsible for creating device classes, and the
318320
mapping between the class of devices and the extended resource name.

0 commit comments

Comments
 (0)