This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/yunikorn-scheduler-interface.git
The following commit(s) were added to refs/heads/master by this push:
new aaf51c9 [YUNIKORN-2833] [SI] Add new constants for non-YK allocation
tracking (#143)
aaf51c9 is described below
commit aaf51c93d3a033e9a6572578388df16c48016dc8
Author: Peter Bacsko <[email protected]>
AuthorDate: Tue Sep 24 15:36:03 2024 -0500
[YUNIKORN-2833] [SI] Add new constants for non-YK allocation tracking
(#143)
Closes: #143
Signed-off-by: Craig Condit <[email protected]>
---
lib/go/common/constants.go | 5 ++++-
scheduler-interface-spec.md | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
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 @@ const (
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 @@ const (
KeyRequiredNode = "requiredNode"
// Pods
- CreationTime = "creationTime"
+ CreationTime = "creationTime"
+ Foreign = "foreign"
+ AllocTypeStatic = "static"
+ AllocTypeDefault = "default"
)
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]