Skip to content

config-linux: Move 'oomScoreAdj' outside of 'resources'? #782

@wking

Description

@wking

The only discussion related to this is in #236 and #292, where the relationship between oomScoreAdj and disableOOMKiller is raised. But since #137 resources has been tied to cgroups, and oomScoreAdj is not about cgroups. We currently have:

You can configure a container's cgroups via the resources field of the Linux configuration.

I suggest we move the property from linux.resources.oomScoreAdj to linux.oomScoreAdj so config authors and runtimes don't have to worry about what cgroupsPath means if the only entry in resources is oomScoreAdj.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions