This is an automated email from the ASF dual-hosted git repository.

mani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 41c882e  [YUNIKORN-860] update the docs in web site about 
"nodeSortingPolicy" (#82)
41c882e is described below

commit 41c882e220df71330a4e47f3e842eef5d5b462c1
Author: Chia-Ping Tsai <[email protected]>
AuthorDate: Sat Sep 25 15:14:57 2021 +0800

    [YUNIKORN-860] update the docs in web site about "nodeSortingPolicy" (#82)
---
 docs/api/scheduler.md | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 550985a..caeab14 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -48,7 +48,13 @@ Displays general information about the partition like name, 
state, capacity, use
             "capacity": "[memory:1000 vcore:1000]",
             "usedCapacity": "[memory:800 vcore:500]"
         },
-        "nodeSortingPolicy": "fair",
+        "nodeSortingPolicy": {
+            "type": "fair",
+            "resourceWeights": {
+                "memory": 1.5,
+                "vcore": 1.3
+            }
+        },
         "applications": {
             "New": 5,
             "Pending": 5,
@@ -63,7 +69,13 @@ Displays general information about the partition like name, 
state, capacity, use
             "capacity": "[memory:2000 vcore:2000]",
             "usedCapacity": "[memory:500 vcore:300]"
         },
-        "nodeSortingPolicy": "fair",
+        "nodeSortingPolicy": {
+            "type": "binpacking",
+            "resourceWeights": {
+                "memory": 0,
+                "vcore": 4.11
+            }
+        },
         "applications": {
             "New": 5,
             "Running": 10,

Reply via email to