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