Skip to content

Commit

Permalink
refine the comments for resource identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
waynepeking348 committed Jul 4, 2023
1 parent a4d5801 commit 590ac94
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/consts/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const (
ResourceNetBandwidth v1.ResourceName = "resource.katalyst.kubewharf.io/net_bandwidth"
)

// const variables for the resource annotation key of TopologyAwareQuantity reported
// by the qrm plugin, indicating that it belongs to a unique topology zone in cnr
const (
ResourceAnnotationKeyResourceIdentifier = "katalyst.kubewharf.io/resource_identifier"
)
// ResourceAnnotationKeyResourceIdentifier nominated the key to override the default name
// field in pod-resource-server (for qrm-related protocols); if the name field can't be
// guaranteed to be unique in some cases, we can relay on this annotation to get unique keys
// (to replace with the default name)
const ResourceAnnotationKeyResourceIdentifier = "katalyst.kubewharf.io/resource_identifier"

0 comments on commit 590ac94

Please sign in to comment.