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

Chen Yu Teng edited comment on YUNIKORN-772 at 8/4/21, 4:04 PM:
----------------------------------------------------------------

In Fig02, we should show current resource usage in allocated resource.
 !fig03_apps_rightAllocation_IndeedUsedResourceInCurrentPodPhase.png!
 In initialization -> Request A
 In running state -> Request B
 Pod resource request ----init-----------|---------running-----
                                    Request A                     Request B
                                    \{800,2GB}                     \{500,976MB}
                                                         Request A
 Web&core  record     \{           800          ,              2GB       }

!fig02_apps_rightAllocation_cantTraceActualResourceUsage.png|width=608,height=338!


was (Author: yukali):
In Fig1, we should show current resource usage in allocated resource.
!fig03_apps_rightAllocation_IndeedUsedResourceInCurrentPodPhase.png!
In initialization -> Request A
In running state -> Request B
Pod resource request ----init-----------|---------running-----
                                   Request A                     Request B
                                   \{800,2GB}                     \{500,976MB}
                                                        Request A
Web&core  record     \{           800          ,              2GB       }

!fig02_apps_rightAllocation_cantTraceActualResourceUsage.png|width=608,height=338!

> Add AllocationAskUpdate in UpdateRequest
> ----------------------------------------
>
>                 Key: YUNIKORN-772
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-772
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: scheduler-interface
>            Reporter: Chen Yu Teng
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: description.png, 
> fig02_apps_rightAllocation_cantTraceActualResourceUsage.png, 
> fig03_apps_rightAllocation_IndeedUsedResourceInCurrentPodPhase.png
>
>
> When resource requirement changes in pod phase, shim will update locally and 
> core-scheduler doesn't know it.
>  Web and core-scheduler shows resource requirement changed when pod phase 
> transited from initialization to running state
> Any case?
>  This situation happens in YUNIKORN-706 .
>  Core-scheduler creates allocationAsk which is stable and calculated from 
> containers.
>  If initcontainer resource requirements replace some containers requirements, 
> core-scheduler will create allocationAsk and see it as fixed allocation and 
> ignore resource requirement changed when pod phase transited from 
> initialization to running state.
> !description.png|width=693,height=328!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to