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

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


The following commit(s) were added to refs/heads/master by this push:
     new c06772574 [YUNIKORN-1669] Expose node eattributes in REST (#303)
c06772574 is described below

commit c06772574c68a8068b5b6be585c77b7827b0f7c6
Author: 0yukali0 <[email protected]>
AuthorDate: Wed May 24 17:28:29 2023 +1000

    [YUNIKORN-1669] Expose node eattributes in REST (#303)
    
    Documentation change for the implementation
    
    Closes: #303
    
    Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
 docs/api/scheduler.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 4b4f1db12..f431a60bf 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -1055,6 +1055,21 @@ Here you can see an example response from a 2-node 
cluster having 3 allocations.
         "nodeID": "node-0001",
         "hostName": "",
         "rackName": "",
+         "attributes": {
+            "beta.kubernetes.io/arch": "amd64",
+            "beta.kubernetes.io/os": "linux",
+            "kubernetes.io/arch": "amd64",
+            "kubernetes.io/hostname": "node-0001",
+            "kubernetes.io/os": "linux",
+            "node-role.kubernetes.io/control-plane": "",
+            "node-role.kubernetes.io/master": "",
+            "node.kubernetes.io/exclude-from-external-load-balancers": "",
+            "ready": "true",
+            "si.io/hostname": "node-0001",
+            "si.io/rackname": "/rack-default",
+            "si/instance-type": "",
+            "si/node-partition": "[mycluster]default"
+        },
         "capacity": {
             "ephemeral-storage": 75850798569,
             "hugepages-1Gi": 0,
@@ -1139,6 +1154,18 @@ Here you can see an example response from a 2-node 
cluster having 3 allocations.
         "nodeID": "node-0002",
         "hostName": "",
         "rackName": "",
+        "attributes": {
+            "beta.kubernetes.io/arch": "amd64",
+            "beta.kubernetes.io/os": "linux",
+            "kubernetes.io/arch": "amd64",
+            "kubernetes.io/hostname": "node-0002",
+            "kubernetes.io/os": "linux",
+            "ready": "false",
+            "si.io/hostname": "node-0002",
+            "si.io/rackname": "/rack-default",
+            "si/instance-type": "",
+            "si/node-partition": "[mycluster]default"
+        },
         "capacity": {
             "ephemeral-storage": 75850798569,
             "hugepages-1Gi": 0,

Reply via email to