[
https://issues.apache.org/jira/browse/YUNIKORN-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg reassigned YUNIKORN-3212:
-----------------------------------------------
Assignee: Wilfred Spiegelenburg (was: Manikandan R)
> use downwardapi for GOMEMLIMIT setting
> --------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]