Skip to content
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

cgroups v2 support (apply from v1 / OCI spec) #292

Merged
merged 1 commit into from
Aug 31, 2021

Commits on Aug 31, 2021

  1. cgroups v2 support (apply from v1/OCI spec)

    Support execution on a cgroups v2 unified hierarchy system, by using
    the `containerd/cgroups/v2` translation of the
    `opencontainers/runtime-spec` `LinuxResources` structure (which we use
    for cgroups config toml files) into v2 Resources. Device limits are
    implemented with the eBPF translation.
    
    This will mean that existing v1 / OCI style cgroups configuration
    files can be used on a system configured for the unified hierarchy
    without an ugly failure. Also fixes failures with the `oci` commands
    on these systems.
    
    Note that we don't yet support the Unified attribute from
    LinuxResources, which is a free-form map[string][string] for
    expressing cgroups v2 configuration natively.
    
    Fixes #60
    dtrudg committed Aug 31, 2021
    Configuration menu
    Copy the full SHA
    5503bc5 View commit details
    Browse the repository at this point in the history