[YUNIKORN-1575] guaranteedResources via namespace annotations (#94)
Closes: #94
Signed-off-by: Wilfred Spiegelenburg <wilfreds@apache.org>
diff --git a/lib/go/common/constants.go b/lib/go/common/constants.go
index 409a1ca..b1d9312 100644
--- a/lib/go/common/constants.go
+++ b/lib/go/common/constants.go
@@ -59,9 +59,10 @@
// Constants for Core and Shim
const (
- Memory = "memory"
- CPU = "vcore"
- AppTagNamespaceResourceQuota = "namespace.resourcequota"
- AppTagStateAwareDisable = "application.stateaware.disable"
- NodeReadyAttribute = "ready"
+ Memory = "memory"
+ CPU = "vcore"
+ AppTagNamespaceResourceQuota = "namespace.resourcequota"
+ AppTagNamespaceResourceGuaranteed = "namespace.resourceguaranteed"
+ AppTagStateAwareDisable = "application.stateaware.disable"
+ NodeReadyAttribute = "ready"
)
diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md
index 84e9ff1..ac1288c 100644
--- a/scheduler-interface-spec.md
+++ b/scheduler-interface-spec.md
@@ -732,11 +732,12 @@
```constants
// Constants for Core and Shim
const (
- Memory = "memory"
- CPU = "vcore"
- AppTagNamespaceResourceQuota = "namespace.resourcequota"
- AppTagStateAwareDisable = "application.stateaware.disable"
- NodeReadyAttribute = "ready"
+ Memory = "memory"
+ CPU = "vcore"
+ AppTagNamespaceResourceQuota = "namespace.resourcequota"
+ AppTagNamespaceResourceGuaranteed = "namespace.resourceguaranteed"
+ AppTagStateAwareDisable = "application.stateaware.disable"
+ NodeReadyAttribute = "ready"
)
```