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

Logging of kube-scheduler #10533

Closed
dvasudha opened this issue Jul 16, 2024 · 5 comments
Closed

Logging of kube-scheduler #10533

dvasudha opened this issue Jul 16, 2024 · 5 comments

Comments

@dvasudha
Copy link

Can someone direct me to the steps to view the logs of default kube-scheduler in k3s ?

@brandond
Copy link
Contributor

K3s runs all the Kubernetes components in the main k3s process, so their logs are all mixed together in the k3s journald log.

@dvasudha
Copy link
Author

I tried looking for kube-scheduler using k3s journald with v=10 set for entire server configuration. However, I am not able to see any logs

@brandond
Copy link
Contributor

brandond commented Jul 16, 2024

It's all in there together. It can be hard to tell which logs are from what component, since they don't have anything uniquely identifying the source.

If you can't see ANY logs then you're probably not looking in the right place...

@dvasudha
Copy link
Author

Are logs from k8s default scheduler by default imported to k3s component logging as well ?

@brandond
Copy link
Contributor

We don't import anything. They just all run in one process, and are output to stdout/stderr same as everything else. If you're running k3s under systemd, they go in the journald log.

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

No branches or pull requests

2 participants