-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add support for K3d + Sysbox #70
Comments
Of the benefits listed, I think the security benefit would certainly be realizable and is the most compelling. Regarding the simplicity & flexibility benefits, these may not be realizable given that k3d must work with the OCI runc which requires more complex container images for the K8s nodes. It's not clear to me that k3d can be easily changed to use the simpler images which would work with sysbox but not with the OCI runc. A similar problem occurs with integrating K8s.io KinD + sysbox. This problem does not occur with kindbox since it's designed to work with sysbox, thus allowing users to use any container image for the k8s nodes. |
Now I just stumbled upon sysbox and then this issue and it sounds pretty interesting!
|
Hi @iwilltry42, glad that you found us. And btw, thanks for your quick fix for this and this, will test it later. For the record: I stumbled into that problem while trying to run K3d inside a Sysbox-powered container, which is also part of the scope of this K3d+Sysbox integration effort. Now, in regards to this issue's primary goal (run K3d through Sysbox runtime), I think you pretty much described all the tasks that would be needed. And yes, I agree that from a UX perspective, the best would be to bundle these features in a single K3d flag. Please let us know if have any other question. For obvious reasons, we are interested in having this job done asap, so let us know if you need any help from us. |
Hi @rodnymolina , sorry, this got buried in my mailbox.. 🙄 |
Hi @iwilltry42, thanks for following up.
In theory any image that carries a distro supported by K3s should work. That is, you should be able to do For example, this works:
The Dockerfile for Hope this helps, let me know of any other questions please. |
The goal here is to allow K3d tool to be able to create K8s clusters running over Sysbox containers. Sysbox would offer the following benefits over K3d's default runtime (runc):
The text was updated successfully, but these errors were encountered: