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
[Instruction] Use cri-dockerd for docker runtime since KubeEdge v1.14 #4843
Comments
Need to also add to docs :) |
it's not easy to install CNI, does anyone have a doc for this ? thanks. |
You can refer to func install_cni_plugins() in https://github.com/kubeedge/kubeedge/blob/master/hack/lib/install.sh, for reference only 😄 |
Do I need to add anything for cloud side when
|
|
Oh I see, |
@Shelley-BaoYue I've encountered a problem when As we all know, during joining process, I've found the root cause of this problem is in I'm considering but not sure if is it possible to add a flag in cc: @fujitatomoya |
agree. i think that this is a huge burden for user perspective.
same here, sounds not really acceptable. but this constraint is NOT with KubeEdge, right? this is because of cri-dockerd requires
it sounds like this falls back to
even above is doable, that is not the solution, right? the problem is we need to setup |
Hi, @Windrow14 @fujitatomoya , sorry for the late reply. Thank you for your advice. I also think the configuration of cni plugin brings a lot of extra work to users. I will try it following the method provided by @Windrow14 and I'll also explore if there's any other solution. If you have any new suggestions, you're welcome to discuss here. |
@fujitatomoya The point is, we don't really want to run any process inside |
E1123 20:44:32.233140 673700 cri_stats_provider.go:455] "Failed to get the info of the filesystem with mountpoint" err="cannot find filesystem info for device "/dev/mmcblk0p2"" mountpoint="/var/lib/docker" |
i think this is NOT a cause, it is meant to be this default behavior.
either container creation fails or not, just downloading other methods would be appropriate way to go for me... |
By using |
Since KubeEdge v1.14, the Kubernetes dependence version has been upgraded to v1.24, and the container runtime at the edge only supports
remote
runtime type. Due to Kubernetes has removed dockershim, if you still need to use Docker Engine, you need to install cri-dockerd first.What is cri-dockerd
In Kubernetes 1.23 and earlier, you could use Docker Engine with Kubernetes, relying on a built-in component of Kubernetes named
dockershim
. The dockershim component was removed in the Kubernetes 1.24 release, while KubeEdge v1.14 upgraded Kubernetes dependence version to v1.24. However, a third-party replacement,cri-dockerd
, is available. Thecri-dockerd
adapter lets you use Docker Engine through the Container Runtime InterfaceHow to use cri-dockerd
1. install cri-dockerd
If you have installed
go
at least v1.18, you can follow cri-dockerd installation guide to install cri-dockerd and start it.If go is lower than version 1.18, an error
cannot find package "." in: cri-dockerd/vendor/net/netip
will be reported when buildcri-dockerd
. You can install it throuth installation package refer to the following steps.2. CNI Plugin
Install CNI Plugin.
3. Configue runtime endpoint
Set
--runtimetype=remote
and--remote-runtime-endpoint=unix:///var/run/cri-dockerd.sock
when usingkeadm join
.FAQ
If there are any questions, welcome to communicate here.
The text was updated successfully, but these errors were encountered: