[RFC] cgroup2: the first cut (yet another version)#103
[RFC] cgroup2: the first cut (yet another version)#103crosbymichael merged 1 commit intocontainerd:masterfrom
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 126Continue 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 |
fuweid
left a comment
There was a problem hiding this comment.
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 <akihiro.suda.cz@hco.ntt.co.jp>
|
@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 |
fuweid
left a comment
There was a problem hiding this comment.
LGTM
Reorg package thing can be handled later
Thanks @AkihiroSuda !
|
LGTM |
alternative to #102
v2 package is completely split from v1.
Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp