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/04/09 00:57:00 UTC

[jira] [Updated] (YUNIKORN-3212) GOMEMLIMIT setting auto update

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

Wilfred Spiegelenburg updated YUNIKORN-3212:
--------------------------------------------
    Summary: GOMEMLIMIT setting auto update  (was: use downwardapi for GOMEMLIMIT setting)

> GOMEMLIMIT setting auto update
> ------------------------------
>
>                 Key: YUNIKORN-3212
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3212
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: core - scheduler, shim - kubernetes
>            Reporter: Manikandan R
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> Instead of using a fixed limit based on a value in a file we should be using the downwardapi to get the details from the pod resource settings:
>  
> {code:java}
> {{- if .Values.resources.limits.memory }}
> name: GOMEMLIMIT
> valueFrom:
> resourceFieldRef:
> resource: limits.memory
> divisor: "0.8"
> {{- end }}{code}
> We can store the divisor as a value in the value file if we really want. Not sure if we want anyone to tweak that 80% number.
> This needs to be tested as the doc is pretty vague on the how and what around divisor definitions when it comes to memory.



--
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