-
Notifications
You must be signed in to change notification settings - Fork 312
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] batch resource calculation fluctuation #1906
Comments
We observed a steep drop of batch-cpu allocatable. metric One pod with 10cores normal cpu requested scheduled on the node at the time of problem, and batch-cpu usage had no significant changes. |
Here's my question: why add up HPUsed with pod request if no metric found, how about just skip it? |
@j4ckstraw If the HP pod has no metric found but can show in the PodList (e.g. pod is newly created), it should not cause a steep drop of batch allocatable since the HPRequest also increases with the request of the HP pod. The drop could be due to an HP pod having metric but not showing in the PodList (e.g. pod is deleted). We can skip the pod request if it is deleted, but cannot assure if it is dangling and keeps running on the node. |
As discussed with @j4ckstraw offline, the current calculation formula does not consider the HP Request when
|
Originally posted by @j4ckstraw in #1559 (comment)
The text was updated successfully, but these errors were encountered: