stu01509 commented on code in PR #372:
URL: https://github.com/apache/yunikorn-site/pull/372#discussion_r1409227006


##########
docs/api/scheduler.md:
##########
@@ -1361,6 +1361,55 @@ Node details include host and rack name, capacity, 
resources, utilization, and a
 }
 ```
 
+## Nodes utilization
+
+Shows how nodes are distributed with regarding the utilization
+
+**URL** : `/ws/v1/scheduler/node-utilization`
+
+**Method** : `GET`
+
+**Auth required** : NO
+
+**Code** : `200 OK`
+
+**Content examples**
+
+```text
+{
+    "type": "vcore",
+    "utilization": [
+      {
+        "bucketName": "0-10%",
+        "numOfNodes": 1,
+        "nodeNames": [
+          "aethergpu"
+        ]
+      },
+      {
+        "bucketName": "10-20%",
+        "numOfNodes": 3,
+        "nodeNames": null

Review Comment:
   Hi @wilfred-s 
   
   Thanks for your review, I modified the `numOfNodes` to 2, and some example 
nodes data.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to