Skip to content

Officially deprecate cgroup v1, but maintain it until May 2029 at least #51111

@AkihiroSuda

Description

@AkihiroSuda

Description

Most distros have already switched to cgroup v2, so I suggest officially deprecating cgroup v1, but maintaining it until the EOL of AlmaLinux 8 and Rocky Linux 8 (i.e., May 2029) at least.

The latest release in May 2029 does not necessarily need to support cgroup v1, but there should be at least one Maintained branch with the support for cgroup v1.

cgroup v1 distros

Testing cgroup v1

GitHub Actions have already stopped hosting cgroup v1 (Ubuntu 20.04), so Oracle Linux 8 (kernel 5.15) running in Lima is currently used for executing the integration tests with cgroup v1.

# EL 8 is used for running the tests with cgroup v1.
# Do not upgrade this to EL 9 until formally deprecating the cgroup v1 support.
#
# FIXME: use almalinux-8, then probably no need to keep oraclelinux-8 here.
# On almalinux-8, port forwarding tests are failing:
# https://github.com/moby/moby/pull/49819#issuecomment-2815676000
- template://oraclelinux-8 # Oracle's kernel 5.15
# - template://almalinux-8 # kernel 4.18

Ideally the tests should be executed in AlmaLinux 8 or Rocky Linux 8 (kernel 4.18), but some tests are failing with them:

Discussion in other projects

It is expected (but not officially decided yet) that containerd supports cgroup v1 longer than Moby, and runc supports it longer than containerd.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions