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

Wilfred Spiegelenburg updated YUNIKORN-3206:
--------------------------------------------
    Affects Version/s: 1.7.0
                       1.6.3
                       1.6.2
                       1.6.1
                       1.6.0

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to