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

Yongjun Zhang edited comment on YUNIKORN-1385 at 12/5/22 8:25 PM:
------------------------------------------------------------------

HI [~wwei],

We discussed about the node label to use for instance type earlier, and you 
suggested yunikorn.apache.org/instance-type. Given that the instance type node 
label may be used by other components than yunikorn, what about we make a 
config in yunikorn as

instance-type-node-label-key: <node-label-key-value>

And allow users to define the node label in their own way? For example, the 
node-label-key-value can be yunikorn.apache.org/instance-type you suggested, or 
anything the cluster user env defines.

This way, the label can be shared by multiple components without including a 
specific consumer's name in its own name.

What do you think? FYI [~zhuqi]

Thanks.




was (Author: yzhangal):
HI [~wwei],

We discussed about the node label to use for instance type earlier, and you 
suggested yunikorn.apache.org/instance-type. Given that the instance type node 
label may be used by other components than yunikorn, what about we make a 
config in yunikorn as

instance-type-node-label: <node-label-key-value>

And allow users to define the node label in their own way? For example, the 
node-label-key-value can be yunikorn.apache.org/instance-type you suggested, or 
anything the cluster user env defines.

This way, the label can be shared by multiple components without including a 
specific consumer's name in its own name.

What do you think? FYI [~zhuqi]

Thanks.



> To provide visibility to application's aggregated resource consumption
> ----------------------------------------------------------------------
>
>                 Key: YUNIKORN-1385
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1385
>             Project: Apache YuniKorn
>          Issue Type: New Feature
>          Components: core - common, core - scheduler, shim - kubernetes
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>            Priority: Major
>         Attachments: image-2022-11-09-11-06-20-479.png, 
> yunikornResourceUsageVisibility.pdf
>
>
> Currently the "Used Resource" for a given application reported at Yunikorn 
> GUI is actually the snapshot of the resources currently allocated to the 
> application. We need to provide visibility to how much resources an 
> application has used so far, and it would be important to report  how much 
> total resources is used by the application. 
> The unit of resources used can be memoryseconds/vcoreseconds like how Hadoop 
> Yarn does in its app summary report. However, there is more complexity with 
> K8s which supports different instance types (Hadoop Yarn does support 
> multiple instance types but its app summary report ignored instance types). 
> It would be nice to report how much resource is used for each instance types 
> used by an application.
> This is a top level Jira for this new feature. Subtask jira will be created 
> when we work on it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to