-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
libcontainer, cgroupv2: adapt to new API #2469
Conversation
Hi @giuseppe. Thanks for your PR. I'm waiting for a google member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
8f686ce
to
b0d55ce
Compare
/ok-to-test |
I've not re-vendored github.com/opencontainers/runc as part of this PR, although the issue for cgroup v2 is fixed: opencontainers/runc#2297 @dashpole should I re-vendor runc here or do we wait for the next release? |
@giuseppe let's request runc folks to do a rc11 please! looks like a bunch of things have piled up already - opencontainers/runc@v1.0.0-rc10...HEAD and the last release was in Jan. |
@AkihiroSuda could we have a new release for runc? |
cc @cyphar |
Maybe we should merge cgroup2 integration tests before rc11. |
c32acc0
to
847ba06
Compare
007a185
to
eb9ce4d
Compare
@giuseppe looks like they are trying to fix something for us!! opencontainers/runc#2364 (comment) So no, i would not recommend updating now until they are ready. |
the devices cgroup is not used by the Kubelet, so the fix won't affect Kubernetes |
67d2c7a
to
c819ae5
Compare
c819ae5
to
e763a54
Compare
It is going to take some to establish a release cadence in runc that lets us iterate quick enough on cgroups v2. I propose that keep we updating runc and then pin to a release which gives us a way to keep making progress on cgroups v2. |
@giuseppe sounds reasonable. please update this PR to latest then? |
adapt the handlers to use the new libcontainer API for cgroup v2. Signed-off-by: Giuseppe Scrivano <[email protected]>
total_inactive_file is present only on cgroup v1 Signed-off-by: Giuseppe Scrivano <[email protected]>
e763a54
to
ab2da09
Compare
yes sure. I've squashed the runc update commit into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
adapt the handlers to use the new libcontainer API for cgroup v2.
Signed-off-by: Giuseppe Scrivano [email protected]