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

Chen Yu Teng edited comment on YUNIKORN-706 at 7/26/21, 3:19 AM:
-----------------------------------------------------------------

Hi,[~wwei].The result in screenshot i posted 4 day age is confirmed because i 
forgot to refresh page.
 I retry same yaml and scheduled by yunikorn and default scheduler separately 
and they resource usage is right in k9s.
 Yunikorn web that information from core shows same result as k9s and resource 
usage is correct.
 !web_node.png!!web_app.png!!yunikorn_scheduler.png!!default_scheduler.png!


was (Author: yukali):
Hi,[~wwei].The result in screenshot i posted 4 day age is confirmed because i 
forgot to refresh page.
I retry same yaml and scheduled by yunikorn and default scheduler separately 
and they resource usage is right in k9s.
Yunikorn web show same result as k9s.
!web_node.png!!web_app.png!!yunikorn_scheduler.png!!default_scheduler.png!

> Fix the resource calculation when the pod has init-containers
> -------------------------------------------------------------
>
>                 Key: YUNIKORN-706
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-706
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>            Reporter: Weiwei Yang
>            Assignee: Chen Yu Teng
>            Priority: Critical
>              Labels: newbie
>             Fix For: 1.0.0
>
>         Attachments: default_scheduler.png, 
> image-2021-07-21-12-01-36-593.png, resource_usage _with_initcontainer.txt, 
> web_app.png, web_node.png, yunikorn_scheduler.png
>
>
> Init-container resources currently got skipped:
> Steps to reproduce:
>  # Submit pod with init containers.
>  # Check UI for app allocations. It only displays the container request of 
> 50m/50M, and not the initContainer request of 100m/100M.
> {code:java}
> 9650-mbp15-rozhang:~ rozhang$ kubectl get pods -n dev
> NAME    READY   STATUS     RESTARTS   AGE
> app-4   0/1     Init:0/1   0          5s
> {code}
> From describe node, we see requests of 100m/100M, which is not the same as 
> Yunikorn.
> Related doc: 
> https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources.



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