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

[test][DNM]Move sandbox cgroup from pause to parent#1522

Closed
jcvenegas wants to merge 3 commits into
kata-containers:masterfrom
jcvenegas:sandbox-cgroup
Closed

[test][DNM]Move sandbox cgroup from pause to parent#1522
jcvenegas wants to merge 3 commits into
kata-containers:masterfrom
jcvenegas:sandbox-cgroup

Conversation

@jcvenegas
Copy link
Copy Markdown
Member

Check the sandbox container cgroup and get its parent to create kata-sandbox cgroup. This cgroup is going to be where kata components will be placed (qemu, proxy, etc).

In the case of a Kuberentes the pod will inherent the kubepod properties for cpus and cpusets. Memory cgroup is still handled as a special case where is not restricted.

If a sandbox contaienr is created lets use its cgroupath
and use the parent to create kata sandbox cgroup.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
The hypervisor will be limited at sandbox cgroup level.

Fixes: kata-containers#1430

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@jcvenegas
Copy link
Copy Markdown
Member Author

/test

Based in sandbox cgroup path. Create a new cgroup .

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@jcvenegas
Copy link
Copy Markdown
Member Author

/test

Copy link
Copy Markdown
Contributor

@mcastelino mcastelino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcvenegas where is the code that eliminates the creation of the container and pause cgroups? Should that also be part of this PR?

@jodh-intel
Copy link
Copy Markdown

@jcvenegas - any update? Branch is conflicted. Is this PR still required?

@raravena80
Copy link
Copy Markdown
Member

@jcvenegas any updates? Thx

@caoruidong
Copy link
Copy Markdown
Member

ping @jcvenegas

@raravena80
Copy link
Copy Markdown
Member

Ping @jcvenegas

@jodh-intel
Copy link
Copy Markdown

Branch is conflicted.

@jcvenegas jcvenegas closed this Sep 12, 2019
@jcvenegas jcvenegas deleted the sandbox-cgroup branch January 23, 2020 19:46
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