wilfred-s commented on code in PR #372:
URL: https://github.com/apache/yunikorn-site/pull/372#discussion_r1408723766


##########
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:
   If we show 3 nodes we should have a list of 3 nodes in the nodeNames also 
for consistency.



-- 
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