[ https://issues.apache.org/jira/browse/YUNIKORN-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qi Zhu closed YUNIKORN-1564. ---------------------------- Resolution: Duplicate > Constants for node attributes are not consistent in scheduler interface and > shim > -------------------------------------------------------------------------------- > > Key: YUNIKORN-1564 > URL: https://issues.apache.org/jira/browse/YUNIKORN-1564 > Project: Apache YuniKorn > Issue Type: Sub-task > Components: scheduler-interface, shim - kubernetes > Reporter: Qi Zhu > Assignee: Qi Zhu > Priority: Major > Labels: pull-request-available > > Constants for node attributes are not consistent in scheduler interface and > shim: > In scheduler interface and core side usage, we use prefix "si": > {code:java} > // 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" > ) {code} > But in shim we pass the prefix "si.io": > {code:java} > // Cluster > const DefaultNodeAttributeHostNameKey = "si.io/hostname" > const DefaultNodeAttributeRackNameKey = "si.io/rackname" > const DefaultNodeAttributeNodeLabelsKey = "si.io/nodelabels" {code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org For additional commands, e-mail: dev-h...@yunikorn.apache.org