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

Wilfred Spiegelenburg updated YUNIKORN-3212:
--------------------------------------------
    Labels: release-notes  (was: )

> 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
>              Labels: release-notes
>
> Instead of using a fixed limit based on a value in a file we should be using 
> the downwardapi or some helm calcullations to get the details from the pod 
> resource settings:
>  
> using the downwardapi we have a divisor that could help:
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to