k0sproject / k0s

k0s - The Zero Friction Kubernetes
https://docs.k0sproject.io
Other
3.18k stars 353 forks source link

Where can I find kubelet logs? #4225

Closed kbumsik closed 1 week ago

kbumsik commented 3 months ago

Is your feature request related to a problem? Please describe.

I had issue with kubelet (node is not ready) and containerd (misconfigured)

Describe the solution you would like

While I figured the fixes out, I almost speculated all the things. It would be great if the official doc describes where logs for every components are located.

Additional context

Here is what k3s did: Related: https://github.com/k3s-io/k3s/issues/1061

twz123 commented 3 months ago

Agree. Some section in the docs could cover this.

All the component's logs are part of the k0s logs, with the component field set to the component's name. If you're interested in kubelet logs, you can grep the k0s logs for component=kubelet, for example. If you're using systemd to start k0s, you can use something like journalctl -u k0sworker.service | grep component=kubelet.

github-actions[bot] commented 2 months ago

The issue is marked as stale since no activity has been recorded in 30 days

github-actions[bot] commented 1 month ago

The issue is marked as stale since no activity has been recorded in 30 days

github-actions[bot] commented 1 week ago

The issue is marked as stale since no activity has been recorded in 30 days