You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2021/06/16 05:57:00 UTC
[jira] [Updated] (YUNIKORN-706) Fix the resource calculation when
the pod has init-containers
[ https://issues.apache.org/jira/browse/YUNIKORN-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiwei Yang updated YUNIKORN-706:
---------------------------------
Description:
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.
was:
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.
> 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
> Priority: Major
> Fix For: 1.0.0
>
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org