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

Where can I find kubelet logs? #4225

Open
kbumsik opened this issue Apr 1, 2024 · 3 comments
Open

Where can I find kubelet logs? #4225

kbumsik opened this issue Apr 1, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@kbumsik
Copy link

kbumsik commented Apr 1, 2024

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: k3s-io/k3s#1061

@kbumsik kbumsik added the enhancement New feature or request label Apr 1, 2024
@twz123
Copy link
Member

twz123 commented Apr 3, 2024

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 twz123 added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Apr 3, 2024
Copy link
Contributor

github-actions bot commented May 3, 2024

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

@github-actions github-actions bot added the Stale label May 3, 2024
@twz123 twz123 removed the Stale label May 4, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

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

@github-actions github-actions bot added the Stale label Jun 3, 2024
@twz123 twz123 removed the Stale label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants