You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/08/04 07:57:00 UTC

[jira] [Commented] (YUNIKORN-1086) expose reservation information in the node rest response

    [ https://issues.apache.org/jira/browse/YUNIKORN-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575098#comment-17575098 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1086:
-------------------------------------------------

Coming back to this one after a long time. Lets not mix too many things into this one jira.

For the reservations I was thing more like this. This is based on what is stored as the reservation key, which  looks a bit like below. 
{code:java}
  {
    "nodeId": "node-1",
    "isReserved": true,
    "reservations": {
        "application-0002|allocation-key-01",
        "application-0002|allocation-key-02"
    }
  },
  {
    "nodeId": "node-1",
    "isReserved": false,
    "reservations": {}
  }{code}

> expose reservation information in the node rest response
> --------------------------------------------------------
>
>                 Key: YUNIKORN-1086
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1086
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Ryan Lo
>            Priority: Major
>              Labels: newbie
>
> We should expose the reservation details for the node in the rest API.
> Need to decide on what kind of detail:
>  * simple flag for reserved or not
>  * app that has the node reserved 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org