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

feat: runc memfd-bind service #9069

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Conversation

frezbo
Copy link
Member

@frezbo frezbo commented Jul 26, 2024

Add a runc-memfd-bind service so that runc binary is not copied for every runc invocation.

Fixes: #9007.

Copy link
Member

@smira smira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main question - if we exhaust /tmp space, can we still do kubectl exec?

@frezbo frezbo force-pushed the feat/runc-memfd branch 2 times, most recently from f2e00fb to 25f1694 Compare July 29, 2024 12:25
Add a `runc-memfd-bind` service so that runc binary is not copied for
every `runc` invocation.

Fixes: siderolabs#9007.

Signed-off-by: Noel Georgi <[email protected]>
@frezbo
Copy link
Member Author

frezbo commented Jul 29, 2024

/m

@talos-bot talos-bot merged commit 3ce5492 into siderolabs:main Jul 29, 2024
48 checks passed
@frezbo frezbo deleted the feat/runc-memfd branch July 29, 2024 14:46
frezbo added a commit to frezbo/talos that referenced this pull request Oct 31, 2024
As of runc 1.2.0, it internally uses an `ovverlay` mount instead of
cloning `/proc/self/exe` and
https://github.com/opencontainers/runc/pull/4482/files drops and the
`DMZ` code. This also reduces code that Talos has to maintain.

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this pull request Nov 1, 2024
As of runc 1.2.0, it internally uses an `ovverlay` mount instead of
cloning `/proc/self/exe` and
https://github.com/opencontainers/runc/pull/4482/files drops and the
`DMZ` code. This also reduces code that Talos has to maintain.

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this pull request Nov 1, 2024
As of runc 1.2.0, it internally uses an `ovverlay` mount instead of
cloning `/proc/self/exe` and
https://github.com/opencontainers/runc/pull/4482/files drops and the
`DMZ` code. This also reduces code that Talos has to maintain.

Fixes: siderolabs#9543

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this pull request Nov 1, 2024
As of runc 1.2.0, it internally uses an `ovverlay` mount instead of
cloning `/proc/self/exe` and
https://github.com/opencontainers/runc/pull/4482/files drops and the
`DMZ` code. This also reduces code that Talos has to maintain.

Fixes: siderolabs#9543

Signed-off-by: Noel Georgi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

provide memfd-bind for runc
3 participants