Skip to content

Allow setting kernel parameters (sysctl) from instance user data #1125

Description

@hendrikhalkow

What I'd like:

I'd like to to run buildah in non-privileged containers on Bottlerocket. For that, I have to set /proc/sys/user/max_user_namespaces to a value greater than zero. It would be great if I can do that from the instance user data.

Any alternatives you've considered:

Currently, I do that with a privileged DaemonSet. That DaemonSet has a privileged init container that just does echo 16384 > /proc/sys/user/max_user_namespaces and a regular container that does nothing, but consume memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions