File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,14 @@ const (
2828 ResourceMemoryBandwidth v1.ResourceName = "resource.katalyst.kubewharf.io/memory_bandwidth"
2929)
3030
31- // ResourceAnnotationKeyResourceIdentifier nominated the key to override the default name
32- // field in pod-resource-server (for qrm-related protocols); if the name field can't be
33- // guaranteed to be unique in some cases, we can relay on this annotation to get unique keys
34- // (to replace with the default name)
35- const ResourceAnnotationKeyResourceIdentifier = "katalyst.kubewharf.io/resource_identifier"
31+ // const variables for resource attributes of resources
32+ const (
33+ // ResourceAnnotationKeyResourceIdentifier nominated the key to override the default name
34+ // field in pod-resource-server (for qrm-related protocols); if the name field can't be
35+ // guaranteed to be unique in some cases, we can relay on this annotation to get unique keys
36+ // (to replace with the default name)
37+ ResourceAnnotationKeyResourceIdentifier = "katalyst.kubewharf.io/resource_identifier"
38+
39+ // ResourceAnnotationKeyResourceIdentifier nominated the key indicating net namespace name of the NIC
40+ ResourceAnnotationKeyNICNetNSName = "katalyst.kubewharf.io/netns_name"
41+ )
You can’t perform that action at this time.
0 commit comments