You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2026/01/28 05:25:00 UTC

[jira] [Resolved] (YUNIKORN-3206) Pod resource calculation incorrect with native sidecars

     [ https://issues.apache.org/jira/browse/YUNIKORN-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikandan R resolved YUNIKORN-3206.
------------------------------------
    Fix Version/s: 1.8.0
       Resolution: Fixed

> Pod resource calculation incorrect with native sidecars
> -------------------------------------------------------
>
>                 Key: YUNIKORN-3206
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3206
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>    Affects Versions: 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>
> The calculation of the total pod size is incorrect when the pod contains native sidecars.
> Pod configuration:
> {code:java}
> initContainers:
>   - name: ic1
>     resources: { memory: 1024Mi }
>   - name: ic2
>     resources: { memory: 1024Mi }
>     restartPolicy: Always 
> containers:
>   - name: app1
>     resources: { memory: 512Mi } {code}
> Expected:: 1536 MiB  
> YuniKorn calculates: 2048 MiB  
> Overcount: 512 MiB per pod
> The issue is linked to the containers with the restartPolicy tagged onto it.



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

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