Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Constants for node attributes are not consistent in scheduler interface and shim:
In scheduler interface and core side usage, we use prefix "si":
// Constants for node attributes const ( ARCH = "si/arch" HostName = "si/hostname" RackName = "si/rackname" OS = "si/os" InstanceType = "si/instance-type" FailureDomainZone = "si/zone" FailureDomainRegion = "si/region" LocalImages = "si/local-images" NodePartition = "si/node-partition" )
But in shim we pass the prefix "si.io":
// Cluster const DefaultNodeAttributeHostNameKey = "si.io/hostname" const DefaultNodeAttributeRackNameKey = "si.io/rackname" const DefaultNodeAttributeNodeLabelsKey = "si.io/nodelabels"
Attachments
Issue Links
- is related to
-
YUNIKORN-1560 Remove nodename and rackname from node attributes
- Closed
- links to