From 0518612b19002993fcf7c2f93359439e376e6c44 Mon Sep 17 00:00:00 2001 From: luomingmeng Date: Thu, 14 Mar 2024 17:09:44 +0800 Subject: [PATCH] add memory bandwidth resource --- pkg/consts/resource.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/consts/resource.go b/pkg/consts/resource.go index 17a7056..c6f190a 100644 --- a/pkg/consts/resource.go +++ b/pkg/consts/resource.go @@ -24,7 +24,8 @@ const ( // const variables for resource names of guaranteed resource const ( - ResourceNetBandwidth v1.ResourceName = "resource.katalyst.kubewharf.io/net_bandwidth" + ResourceNetBandwidth v1.ResourceName = "resource.katalyst.kubewharf.io/net_bandwidth" + ResourceMemoryBandwidth v1.ResourceName = "resource.katalyst.kubewharf.io/memory_bandwidth" ) // ResourceAnnotationKeyResourceIdentifier nominated the key to override the default name