1

Looking at the Kubernetes dev documentation I can see that there is additional logging available for a node. Utimately i'm trying to enable debug or trace logging on Kublet so that I can troubleshoot an issue i'm having. I can't seem to find any guidance anywhere on adjusting this.

Brett Larson
  • 854
  • 1
  • 12
  • 20

1 Answers1

2

Did you try to pass -v=5 flag on the command line to the kubelet ?

/usr/bin/kubelet -v=5 --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf ...

If you run kubelet as service with systemd you can adjust it in through unit file:

/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
Nepomucen
  • 306
  • 1
  • 4