Skip to content
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

Error: failed to run Kubelet: unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix: missing address #2945

Closed
devbiu opened this issue Oct 19, 2023 · 3 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@devbiu
Copy link

devbiu commented Oct 19, 2023

What keywords did you search in kubeadm issues before filing this one?

issues: #1893

Is this a BUG REPORT

Versions

kubeadm version (use kubeadm version): 1.24.7

Environment:

  • Kubernetes version (use kubectl version): 1.24.7
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): centos8
  • Kernel (e.g. uname -a): Linuxxxxxx 4.18.0-240.el8.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Container runtime (CRI) (e.g. containerd, cri-o): cri-docker
  • Container networking plugin (CNI) (e.g. Calico, Cilium): cni
  • Others:

What happened?

kubeadm init --kubernetes-version=1.24.7 --cri-socket unix:///run/cri-dockerd.sock --v=5 
image
systemctl status kubelet
image
Error: failed to run Kubelet: unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix: missing address
crictl --runtime-endpoint unix:///run/cri-dockerd.sock logs CONTAINERID
image

Because the error reasons are the same, I tried all the methods in the issues, but still can't solve my problem.
issues: #1893

What you expected to happen?

kubernetes successful installation

How to reproduce it (as minimally and precisely as possible)?

kubeadm init --kubernetes-version=1.24.7 --cri-socket unix:///run/cri-dockerd.sock --v=5 

Anything else we need to know?

before executing issues, runtime error
issues: kubernetes/registry.k8s.io#266 (comment)

@neolit123
Copy link
Member

unix:///run/cri-dockerd.sock

k8s maintainers recommend switching to containerd or crio. they are more up to date with k8s...

this is not a kubeadm bug, per se.

@neolit123
Copy link
Member

/support

@github-actions
Copy link

Hello, @devbiu 🤖 👋

You seem to have troubles using Kubernetes and kubeadm.
Note that our issue trackers should not be used for providing support to users.
There are special channels for that purpose.

Please see:

@github-actions github-actions bot added the kind/support Categorizes issue or PR as a support question. label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants