-
Notifications
You must be signed in to change notification settings - Fork 447
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
I have the following problem when I want to use the client for CRI #153
Comments
You should set the |
But those parameters where I look for them kubelet..? |
@jhonfcp Which version of kubernetes are you running? dockershim.sock only exist after CRI is introduced in kubelet, e.g. v1.6+.
crictl is the command line interface for CRI, but I'm not sure what is crt, where does it comes from? |
I may have the same issue.
Output:
The file/socket
[1] At the time of writing it's the same as v1.0.0-alpha.0 except changes code of conduct. Any words of advice would be much appreciated. I did not understand the following either
|
How do I know where it is running? What is that server? Is docker-engine a CRI server? Can I create the socket with |
@nicolaiskogheim I'm assuming you are using docker runtime with kubelet. The file "/var/run/dockershim.sock" is created by kubelet. So could you verify whether kubelet is started properly? |
Yes. I just install This all is very strange to me, especially the part where |
Where is this from? crictl doesn't require ocid or ocic |
CRI is complaining about the lack of the shim sock, which gets checked during Also, kubeadm only warns with the lack of crictl, but doesn't require it. So, the additional dependencies only come into play when you want to use a different container runtime interface other than the dockershim that ships with kubelet. This is where you might use cri-o (formerly ocid), which must be manually built and additionally depends on runc. Aside: on centos 7, runc v1.0.0 is available via extras, so a |
I also attempted to copy
Until this circular dependency is broken, |
@zcalusic Seems this is a kubeadm issue. Could you open an issue at https://github.com/kubernetes/kubeadm? |
Closing it since it's actually a kubeadm issue. |
|
running this command resolved the issue for me crictl config runtime-endpoint unix:///var/run/containerd/containerd.sock |
|
transport: dial unix /var/run/dockershim.sock: connect: no such file or directory
any suggest..?
The text was updated successfully, but these errors were encountered: