How can I configure `kebelet` log to file?

k8s-release

#1

By default, kubelet uses syslog for logging.
How can I configure kubelet log to file instead ?


#2

https://kubernetes.io/docs/concepts/cluster-administration/logging/#system-component-logs

You sure about that? Check how your installation starts the kubelet, perhaps it sets options you would rather not want.


#3

Note it can use syslog and configure syslog to log it in another file. It depends on which syslog you are using, but it should be something only about syslog, IIRC