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 #1569

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]>
@ganeshmaharaj
Copy link
Contributor Author

/test

@jodh-intel
Copy link
Contributor

/retest

@ganeshmaharaj
Copy link
Contributor Author

Kindly ignore this PR. I thought I closed it out but seems not. This has been rolled into the big back porting PR for stable 1.6

@jodh-intel
Copy link
Contributor

@ganeshmaharaj - np, but can we just close it then?

@ganeshmaharaj
Copy link
Contributor Author

@jodh-intel yes, we should be able to close it now.

@ganeshmaharaj ganeshmaharaj deleted the bp-1530 branch July 17, 2019 17:00
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.

5 participants