You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Rainie Li (Jira)" <ji...@apache.org> on 2023/05/10 16:43:00 UTC
[jira] [Comment Edited] (YUNIKORN-1728) MaxApplication enforcement supports percentage of resources
[ https://issues.apache.org/jira/browse/YUNIKORN-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721468#comment-17721468 ]
Rainie Li edited comment on YUNIKORN-1728 at 5/10/23 4:42 PM:
--------------------------------------------------------------
Thanks [~wilfreds]for the detailed information!
I think we can provide a flag for users to choose two scenarios:
# *Percentages based on original max quota*: When auto scaling happens, actual number will not change.
# *Percentages based on current max quota*: We can get current max quota during auto scaling and apply the percentage calculation, actual number will change.
Feel free to let me know your thoughts for this approach.
was (Author: rainieli):
Thanks [~wilfreds]for the detailed information!
I think we can provide a flag for users to choose two scenarios:
# *Percentages based on original max quota*: When auto scaling happens, actual number will not change.
# *Percentages based on current max quota*: We can get current max quota during auto scaling and apply the percentage calculation. actual number will change.
Feel free to let me know your thoughts for this approach.
> MaxApplication enforcement supports percentage of resources
> -----------------------------------------------------------
>
> Key: YUNIKORN-1728
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1728
> Project: Apache YuniKorn
> Issue Type: New Feature
> Components: core - scheduler
> Reporter: Rainie Li
> Assignee: Rainie Li
> Priority: Major
>
> Currently we need to set queue with guaranteed resources.
> example:
> {code:java}
> queues:
> - name: root
> submitacl: '*'
> queues:
> - name: queue1
> submitacl: '*'
> maxapplications: 12
> resources:
> guaranteed:
> {memory: 6290G, vcore: 816}
> max:
> {memory: 31450G, vcore: 4080}
> {code}
> It will be convenient to support percentage, so that we can configure queue without calculating the actual number.
> {code:java}
> queues:
> - name: root
> submitacl: '*'
> queues:
> - name: queue1
> submitacl: '*'
> maxapplications: 12
> resources:
> guaranteed:
> {memory: 20%, vcore: 20%}
> max:
> {memory: 31450G, vcore: 4080}
> {code}
--
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