-
Notifications
You must be signed in to change notification settings - Fork 700
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
Crictl not contained in kubeadm and kubelet snaps, not obvious how to install it #992
Comments
snap is not supported. i think the packaged binaries you are using are done by a third party, because the official packages should include crictl: |
when you do |
@ALL This is yet another example of user confusion caused by artificial dependency to crictl. Most of users don't have CRI configured, but kubeadm still insists on installng crictl, which is absolutely not needed in such a cases. |
but how would the kubelet work if the user doesn't have a CRI configured? right now, kubeadm uses crictl for pulling images and it's going to be used for more things in the future - |
It will work with docker. So far it has been most usable scenario. The confusion I'm talking about was started when kubeadm started to require crictl installed on the system. |
Considering CoreOS is a supported platform (at least kubeadm documentation prominently features it) and The last comment available on this very topic is this which indicates the check is not being promoted to an error in my eyes. |
The only kubernetes install paths I'm familiar with is apt (which has it packaged) and snap (which I don't know how to update to the latest master), both combined with kubeadm, so I'm not fully sure how to do that |
@Jonast this is the file for your system: |
@neolit123 I did manage to install it by copying it over from the |
thank you. good to know! |
Crictl is not contained in kubeadm and kubelet snaps leading to the error
[ERROR FileExisting-crictl]: crictl not found in system path
, and it's not obvious how to install it. Some people claimgo get github.com/kubernetes-incubator/cri-tools/cmd/crictl
fixes it, but that runs through without an error for me and I still get the preflight error.Therefore, I suggest that if you're involved in packaging the snaps (or even if not) you help them address this issue somehow.
Versions
kubeadm version (use
kubeadm version
):snap version / snap info kubeadm:
Environment:
kubectl version
):uname -a
):Linux kubernetes-test-1 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
What happened?
What you expected to happen?
It works, or it is more obvious how to install crictl:
How to reproduce it (as minimally and precisely as possible)?
Install Ubuntu 18.04 LTS, then:
(sorry if I forgot a step, but it should be pretty complete)
Anything else we need to know?
The text was updated successfully, but these errors were encountered: