forked from cri-o/cri-o
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtimehandler: mixedcpus: fix quota calculation
turns out the `podManager.GetCgroups()` doesn\'t return any information with regards to its existing resources. We should put some extra effort in order to find and calculate the actual pod quota. We need to sum the quota value from each container + the shared cpus and that should be our new pod quota. Signed-off-by: Talor Itzhak <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters