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>
This commit is contained in:
Akihiro Suda 2021-02-16 17:53:41 +09:00
parent 2834afe426
commit 1d2a660093
No known key found for this signature in database
GPG key ID: 49524C6F9F638F1A

View file

@ -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.