how to see kube-scheduler log?

12/5/2017

I also want to see the logs of kube-scheduler go files. I tried different methods like

  • using kubeclt logs: this show the event logs of kube-scheduler but not all the logs in kube-scheduler.
  • using docker logs [kube-scheduler container id]: it does not have any log.
  • journalctl -u kubelet: only show the log of kubelet.

All of these do not work. Please let me know if you guys found the way to log them out.

-- Tan Le
kubernetes

1 Answer

9/10/2019

Check this on Master /var/log/kube-scheduler.log

see also: https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/

-- Tilo
Source: StackOverflow