Skip to content

refactor: run kubelet and etcd in system containerd#9829

Draft
dsseng wants to merge 1 commit into
siderolabs:mainfrom
dsseng:kubelet-etc-in-sys
Draft

refactor: run kubelet and etcd in system containerd#9829
dsseng wants to merge 1 commit into
siderolabs:mainfrom
dsseng:kubelet-etc-in-sys

Conversation

@dsseng

@dsseng dsseng commented Nov 28, 2024

Copy link
Copy Markdown
Member

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 dmitry.sharshakov@siderolabs.com

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 <dmitry.sharshakov@siderolabs.com>
@smira

smira commented Nov 28, 2024

Copy link
Copy Markdown
Member

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

dsseng commented Nov 28, 2024

Copy link
Copy Markdown
Member Author

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

@frezbo

frezbo commented Nov 28, 2024

Copy link
Copy Markdown
Member

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

dsseng commented Nov 28, 2024

Copy link
Copy Markdown
Member Author

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

@dsseng

dsseng commented Dec 16, 2024

Copy link
Copy Markdown
Member Author

Idea: we could create a namespace belonging to the system containerd, but with snapshotter configured to store data on the /var partition? This should bring together best of both concepts.

@smira

smira commented Dec 17, 2024

Copy link
Copy Markdown
Member

Idea: we could create a namespace belonging to the system containerd, but with snapshotter configured to store data on the /var partition? This should bring together best of both concepts.

that sounds interesting, if we can actually pull it through, but still it's kubelet/etcd only

@github-actions

github-actions Bot commented Feb 1, 2025

Copy link
Copy Markdown

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions Bot added the Stale label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: On Hold

Development

Successfully merging this pull request may close these issues.

3 participants