k0s icon indicating copy to clipboard operation
k0s copied to clipboard

Where can I find kubelet logs?

Open kbumsik opened this issue 1 year ago • 4 comments

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

kbumsik avatar Apr 01 '24 18:04 kbumsik

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.

twz123 avatar Apr 03 '24 14:04 twz123

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

github-actions[bot] avatar May 03 '24 23:05 github-actions[bot]

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

github-actions[bot] avatar Jun 03 '24 23:06 github-actions[bot]

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

github-actions[bot] avatar Jul 04 '24 23:07 github-actions[bot]