Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] GroupQuotaManager字段totalResourceExceptSystemAndDefaultUsed在计算配额树runtime时是否不准确 #2263

Open
fanzetian opened this issue Nov 13, 2024 · 1 comment
Labels
area/koord-scheduler kind/question Support request or question relating to Koordinator

Comments

@fanzetian
Copy link

What happened:
GroupQuotaManager 的 refreshRuntimeNoLock方法,在计算配额树时使用的集群资源上限是totalResourceExceptSystemAndDefaultUsed字段,这个字段是剔除system和default配额的,然后在parRuntimeQuotaCalculator.updateOneGroupRuntimeQuota(quotaInfo)这一步,会从root遍历整个配额树,重复计算system和default的runtime(这两个min为0,如果集群中有预置的pod,request>min,一定触发从别人租借资源),导致实际挂在root下的自定义配额没有足够runtime使用

What you expected to happen:
是需要给system和default配额配置min么,还是要在计算runtime时跳过system和default配额
Environment:

  • Koordinator version: - 最新代码

Anything else we need to know:

@fanzetian fanzetian added the kind/question Support request or question relating to Koordinator label Nov 13, 2024
@saintube
Copy link
Member

PTAL /cc @shaloulcy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koord-scheduler kind/question Support request or question relating to Koordinator
Projects
None yet
Development

No branches or pull requests

2 participants