[YUNIKORN-2833] [SI] Add new constants for non-YK allocation tracking (#143)
Closes: #143
Signed-off-by: Craig Condit <ccondit@apache.org>
diff --git a/lib/go/common/constants.go b/lib/go/common/constants.go
index ccd8e38..c732005 100644
--- a/lib/go/common/constants.go
+++ b/lib/go/common/constants.go
@@ -54,7 +54,10 @@
KeyRequiredNode = "requiredNode"
// Pods
- CreationTime = "creationTime"
+ CreationTime = "creationTime"
+ Foreign = "foreign"
+ AllocTypeStatic = "static"
+ AllocTypeDefault = "default"
)
// Constants for Core and Shim
diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md
index 2a77f20..ee87236 100644
--- a/scheduler-interface-spec.md
+++ b/scheduler-interface-spec.md
@@ -682,7 +682,10 @@
KeyRequiredNode = "requiredNode"
// Pods
- CreationTime = "creationTime"
+ CreationTime = "creationTime"
+ Foreign = "foreign"
+ AllocTypeStatic = "static"
+ AllocTypeDefault = "default"
)
```