Replies: 5 comments 6 replies
-
@dblas, thanks! Just to make sure I understood your question, you are referring to the capability of instantiating k8s-nodes in multiple servers (bare-metal / VMs) and interconnecting them through traditional CNI's. These k8s-nodes would be created by a regular K8s-controller, not by the KinD tool, right? If that's the case, yes, this is a key component of our roadmap. Now, I'm curious, what's the use-case that you have in mind? Are you thinking about deploying these in the cloud or on-prem? When would you use a Sysbox-based node vs a regular VM? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @dblas, A couple of months ago I played around with deploying K8s-in-Docker across several hosts, but could not get it fully working yet. Basically, I deployed a couple of K8s-in-Docker nodes across different machines, where each node was deployed with Docker + Sysbox. These were connected using a Docker overlay network. I got as far as forming the K8s cluster (i.e., the k8s master and worker joined the cluster), but then hit some networking problem when the k8s master tried to deploy a pod to the k8s worker node. In general, there is nothing in Sysbox that should prevent creating K8s-in-Docker nodes across several hosts, and it's definitely something we want to support as @rodnymolina mentioned. The problems mostly show up because of the nesting of networks (e.g., there is one container network connecting the k8s-in-docker nodes across machines, and there is the (inner) networking setup by k8s inside the container-based k8s nodes). It's here that problems arise, and we need to look at these and understand how Sysbox can help fix them. We don't have cycles to work on this config right now, but if you give it a shot we can definitely support you as you find issues. |
Beta Was this translation helpful? Give feedback.
-
Forgot: I would also start with a simple network (e.g., flannel), both for the overlay network that connects the K8s-in-Docker nodes across machines, as well as for the K8s CNI itself. Once this is working we can try more advanced CNIs. |
Beta Was this translation helpful? Give feedback.
-
One more thing: K8s-in-Docker with Sysbox is definitely useful for testing at this time, but I would not use it for production K8s yet. It's not yet a certified K8s platform, and there are still some limitations. See here: |
Beta Was this translation helpful? Give feedback.
-
Bravo for the job accomplished. It's now easy to create a few KinD nodes. But is it easy to do it when these nodes are on different hosts?
Are Cilium, Weave or Calico still possible in the sysbox context?
Thank you!
db
Beta Was this translation helpful? Give feedback.
All reactions