You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2024/09/24 20:36:48 UTC

(yunikorn-scheduler-interface) branch master updated: [YUNIKORN-2833] [SI] Add new constants for non-YK allocation tracking (#143)

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 <ba...@gmail.com>
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 <cc...@apache.org>
---
 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org