Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

virtcontainers: inherit parent's CPU constraint #1607

Closed

Conversation

ganeshmaharaj
Copy link
Contributor

Don't set a default CPU constraint if period and quota are not specified, that
way the container will inherit the CPU constraint from its parent. Container
creation won't fail if the parent CPU constraint is smaller than the default
number of vCPUs.

fixes #1521

Signed-off-by: Julio Montes [email protected]
(cherry picked from commit 59e3956)
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]

Don't set a default CPU constraint if period and quota are not specified, that
way the container will inherit the CPU constraint from its parent. Container
creation won't fail if the parent CPU constraint is smaller than the default
number of vCPUs.

fixes kata-containers#1521

Signed-off-by: Julio Montes <[email protected]>
(cherry picked from commit 59e3956)
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
@teawater
Copy link
Member

/test

@grahamwhaley
Copy link
Contributor

CIs failed, but not due to this commit I think - feels like we may have slid in an ill formatted commit somewhere somehow @ganeshmaharaj ?

Defaulting branch to master
Found 20 commits between commit HEAD and branch master
ERROR: Commit 2de40227ee062f4fa6d5d4db193ea990fbc45876: Failed to find subsystem in subject: "revert kernel bump for 1.6.2 release"
ERROR: checkcommits failed. See the document below for help on formatting
commits for the project.

@jodh-intel
Copy link
Contributor

@ganeshmaharaj
Copy link
Contributor Author

Will roll this into the big backport PR that i am working on.

@ganeshmaharaj ganeshmaharaj deleted the bp-1530-1.6 branch April 30, 2019 19:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants