Move cgroup v2 out of experimental
We have upgraded runc to rc93 and added CI for cgroup 2.
So we can move cgroup v2 out of experimental.
Fix issue 41916
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit 1d2a660093
)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
88bd96d6e5
commit
255c79a1e8
1 changed files with 0 additions and 3 deletions
|
@ -122,9 +122,6 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo)
|
||||||
if !v.CPUSet {
|
if !v.CPUSet {
|
||||||
v.Warnings = append(v.Warnings, "WARNING: No cpuset support")
|
v.Warnings = append(v.Warnings, "WARNING: No cpuset support")
|
||||||
}
|
}
|
||||||
if v.CgroupVersion == "2" {
|
|
||||||
v.Warnings = append(v.Warnings, "WARNING: Support for cgroup v2 is experimental")
|
|
||||||
}
|
|
||||||
// TODO add fields for these options in types.Info
|
// TODO add fields for these options in types.Info
|
||||||
if !sysInfo.BlkioWeight && v.CgroupVersion == "2" {
|
if !sysInfo.BlkioWeight && v.CgroupVersion == "2" {
|
||||||
// blkio weight is not available on cgroup v1 since kernel 5.0.
|
// blkio weight is not available on cgroup v1 since kernel 5.0.
|
||||||
|
|
Loading…
Reference in a new issue