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

refactor: run kubelet and etcd in system containerd #9829

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsseng
Copy link
Member

@dsseng dsseng commented Nov 28, 2024

This change allows us to ensure their contexts are protected by SELinux policy, as well as making CRI containerd only host containers managed by Kubernetes.

Signed-off-by: Dmitry Sharshakov [email protected]

This change allows us to ensure their contexts are protected by SELinux policy, as well as making CRI containerd only host containers managed by Kubernetes.

Signed-off-by: Dmitry Sharshakov <[email protected]>
@smira
Copy link
Member

smira commented Nov 28, 2024

I'm not sure if we can do that, as system containerd runs from tmpfs, so all container state and images should be in memory.

@dsseng
Copy link
Member Author

dsseng commented Nov 28, 2024

Well, etcd data is on a mount to where it belongs to be

@frezbo
Copy link
Member

frezbo commented Nov 28, 2024

Well, etcd data is on a mount to where it belongs to be

but the uncompressed layers and other metadata will fillup tmpfs, just wasting memory

@dsseng
Copy link
Member Author

dsseng commented Nov 28, 2024

yes, perhaps this solution is not really efficient since those images aren't tiny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants