-
Notifications
You must be signed in to change notification settings - Fork 100
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
Update to containerd v2 #604
Conversation
869b5cd
to
9b388ab
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #604 +/- ##
===========================================
- Coverage 34.31% 21.82% -12.49%
===========================================
Files 65 122 +57
Lines 6598 10730 +4132
===========================================
+ Hits 2264 2342 +78
- Misses 4020 8070 +4050
- Partials 314 318 +4
|
112bca2
to
03c92c5
Compare
Rebased. |
x-ref; #611 (comment)
|
598d4fc
to
db9b0cc
Compare
Signed-off-by: apostasie <[email protected]>
Rebased. CI is green. |
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!
Thanks @imeoer ! And thanks @thaJeztah for all the prep work! @thaJeztah do you know if/when moby is going to make the switch to containerdv2? (specifically interested in |
You're welcome! There's so many projects that have a dependency on each other - it's sometimes difficult to wrap your head around; in all honesty some of these packages may not have had an immediate impact, but some were definitely good to get out of the way to (hopefully) smoothen the transition. I actually just Yesterday noticed the
We don't have a timeline yet; I know there's some work ongoing w.r.t.
For For I did some refactoring some time ago to isolate the seccomp and apparmor profiles in the moby repository with the intent to eventually move them separate, but that's been some time ago, and we likely would have to spend some time looking at the current differences between containerd and moby, and to see if we can unify the implementations so that those profiles can live in separate modules (to be shared between projects). |
Thanks a lot for all the info @thaJeztah I think we might just copy / fork |
This PR is about updating to containerd v2 rc3 - as part of the effort to bring nerdctl to v2 as well - which is tracked here: containerd/nerdctl#3173
The above PR already uses an updated fork of nydus and nerdctl tests are passing with it.
Other dependencies have also been bumped to their latest version.
Besides basic import path changes, key changes are:
tracing.WithHTTPRequest
which has been deprecated for a while and does not do what it did in the past anyhowFurther cleanup became necessary to fix racyness / other CI issues
reboot_containerd
expanded sleep to avoid racy shutdownPending CI to pass.
cc @AkihiroSuda