-
Notifications
You must be signed in to change notification settings - Fork 240
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
[RFC] cgroup2: the first cut (yet another version) #103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
=======================================
Coverage 45.42% 45.42%
=======================================
Files 23 23
Lines 1638 1638
=======================================
Hits 744 744
Misses 768 768
Partials 126 126 Continue to review full report at Codecov.
|
9ccab27
to
52e97a6
Compare
reviewing |
Looks good. How do you like this approach? Do you think we should move forward with this implementation? I think this is nice, clean, and simple. |
@fuweid PTAL |
Let's try to move forward this and see if it work. I have still a concern how we can support systemd, but I think the systemd interface can be revisited later, because CRI and Moby don't seem using it for v1. For CRI and Moby, it seems we only need cgroupfs-based metrics functions: #104 |
Will |
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.
Nice Update!
But go.mod is kind of issue and it seems we need to cut branch for v2?
I think we can add new go.mod to support v2 version. |
We have already several "v1" and "v2" pkgs in the main repo, probably we can keep this as-is? |
Do we want to create a v2 branch that we can work out of for this? |
As the package is separate out, unlikely to cause regression for the existing v1 code. |
52e97a6
to
5b59993
Compare
addressed comments, but adding go.mod to
|
5b59993
to
0329947
Compare
just keep it simple and don't mess with go.mod if we don't have to. getting the functionality in is what is important |
can we merge this as-is? |
alternative to containerd#102 v2 package is completely split from v1. Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda how about moving And according to go.mod in v1 cgroup, it looks weird that we don't support go.mod for v2. |
0329947
to
27e64bc
Compare
Moved Adding |
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
Reorg package thing can be handled later
Thanks @AkihiroSuda !
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
LGTM |
alternative to #102
v2 package is completely split from v1.
Signed-off-by: Akihiro Suda [email protected]