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
Copy link
Copy Markdown
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 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
Copy link
Copy Markdown
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
Copy Markdown
Member Author

dsseng commented Nov 28, 2024

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

@frezbo
Copy link
Copy Markdown
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
Copy Markdown
Member Author

dsseng commented Nov 28, 2024

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

@dsseng
Copy link
Copy Markdown
Member Author

dsseng commented Dec 16, 2024

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
Copy link
Copy Markdown
Member

smira commented Dec 17, 2024

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
Copy link
Copy Markdown

github-actions Bot commented Feb 1, 2025

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