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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
support sysbox #1772
Comments
we should also probe docker to see if sysbox is the default runtime and gracefully handle that. |
Thanks for opening the issue Ben, I will be glad to help add support for Sysbox in KinD. cc @rmolina |
Thanks @BenTheElder, will look into KIND_EXPERIMENTAL_RUNTIME approach. |
Likely to require kubernetes/kubernetes@db0c4cb and kubernetes/kubernetes@503cff0 (https://github.com/kubernetes/kubernetes/pull/92863/commits), as sysbox uses user namespaces |
@AkihiroSuda thanks for pointing that out, these changes make sense. But please keep in mind that they are not required by Sysbox to host K8s clusters (Sysbox already handles K8s sysctl write attempts). You can easily test it yourself by looking at this KinD fork (with very minimal changes) that we created as a prototype. |
Do we have numbers to compare how |
@felipecrs : sysbox would not enhance kind performance; it's benefits would mainly be functional, such as:
An additional benefit would be that sysbox removes the need for many of the actions taken in the KinD entrypoint script, but it's not clear to me that KinD would be able to take advantage of this given that it has to support the OCI runc which does require the entrypoint. Finally, sysbox has some optimizations that save a lot of disk space when the inner containers/pods are spawned by running K8s + Docker inside the container. But KinD nodes use containerd only (not Docker) inside the container, and thus said optimizations don't apply. |
Thank you so much @ctalledo for the great explanation. I was asking because we have a very resource consumer CI which install many applications in a KinD cluster, so any kind of optimization would be welcome. Despite that, the benefits that |
Unfortunately I haven't had cycles to dedicate to integrating KinD with sysbox-runc yet. |
Still no cycles on Nestybox's side to help integrate KinD with Sysbox unfortunately. If anyone else has the desire and cycles we would be happy to assist. |
https://github.com/nestybox/sysbox is open source now 馃檭
This sits below docker, so we'll need to think about how this fits into the current abstractions.
I think to start, we can gate it behind
KIND_EXPERIMENTAL_RUNTIME=sysbox-runc
(in absence of a standard env to do this in docker).cc @ctalledo
The text was updated successfully, but these errors were encountered: