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

/dev/kmsg: no such file or directory #132

Closed
Citrullin opened this issue Oct 21, 2024 · 2 comments
Closed

/dev/kmsg: no such file or directory #132

Citrullin opened this issue Oct 21, 2024 · 2 comments

Comments

@Citrullin
Copy link

I installed the helm chart into a k3s cluster and tried to create a k3k cluster, but it fails.
Error: failed to run Kubelet: failed to create kubelet: open /dev/kmsg: no such file or directory

This is an issue on a couple of systems. See here.

The solution is just to mount host kmsg into the container.

@Citrullin
Copy link
Author

This is quite confusing. The agents have /dev/kmsg available. They run in privileged: true
So does the server, but the directory isn't mounted.

@Citrullin
Copy link
Author

Changing privileged_without_host_devices from true to false does the job.

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
  privileged_without_host_devices = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant