I'd like to use DSR with containerd instead of Docker.
Maybe, I'm missing something here, but I don't believe that there is anything specifically tied to docker about our current DSR implementation. Can you explain more about what specifically doesn't work about DSR with containerd that does work with Docker?
@aauren The docs say this:
Also host path /var/run/docker.sock must be made a volumemount to kube-router.
Thanks for the reply. I had missed that in the documentation. Looking through the code, it appears that the kube-router code is pretty strongly tied to a docker runtime for handling DSR so it would probably be a bit of work to support other runtimes directly like containerd or cri-o.
Being realistic, I don't know that this is something that we'll have time to get to in the next couple of phases. Is this something that you would be interested in submitting and implementation for?
@aauren As much as I would :heart to, unfortunately no. I have quite a few open source projects I am juggling, and we have since learned to live without DSR. If I get a chance, I might take a shot at it, but I can't say I can commit to this right now. Maybe in the future.
@andrewrynhard Thanks for getting back about this. As much as it would be awesome to be able to support multiple container runtimes, we're currently focused on enhancing other areas of kube-router so I'm going to close this for now.
If someone happens across this in the future and wants to contribute the functionality just respond here, totally open to re-opening it and discussing if someone has the time to contribute this functionality.
Current implementation support docker only. There is low level plumbing required to support DSR
which requires to use container runtime API. If there is any library that can abstract the container runtimes it would be nice to do it once for all.
It should be noted that support for docker on k8s is going away https://github.com/kubernetes/kubernetes/pull/94624
All communication will have to be CRI compatible so support for containerd crio and others will be wanted
Re-opening now that @ep4eg has put in a PR
Noted the merge. I'll test crio and containerd shortly.
Noted the merge. I'll test crio and containerd shortly.
@sfxworks any update on this?
@yydzhou Hi there. Very sorry as I got caught up in a project at work. I can probably get a test on this before the weekend.
Edit: during the weekend.
Edit 2: Work is not permitting me to get this done when I say 馃槵 but it is on the to-do list for me. I just completed an LTSP cluster for RPIs so my main hurdles are setting aside time to 1. build the branch 2. build it for arm and 3. deploy it to test. I'm once again estimating some time this week.
Closed via #1027
Most helpful comment
Re-opening now that @ep4eg has put in a PR