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

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

Wilfred Spiegelenburg created YUNIKORN-3206:
-----------------------------------------------

             Summary: Pod resource calculation incorrect with native sidecars
                 Key: YUNIKORN-3206
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3206
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org