[
https://issues.apache.org/jira/browse/YUNIKORN-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072520#comment-18072520
]
Wilfred Spiegelenburg commented on YUNIKORN-3212:
-------------------------------------------------
Code change (helm side) has been committed.
README as part of the helm charts has been updated. Still need a change of the
{{https://yunikorn.apache.org/docs/user_guide/service_config#helm-configuration}}
to finish up the full documentation change.
> GOMEMLIMIT setting auto update
> ------------------------------
>
> Key: YUNIKORN-3212
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3212
> Project: Apache YuniKorn
> Issue Type: Task
> Components: documentation, release
> Reporter: Manikandan R
> Assignee: Wilfred Spiegelenburg
> Priority: Major
> Labels: pull-request-available, 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]