<p>I want to set higher logging verbosity in my k8s setup. While i managed to enable verbosity for API server and Kubectl by <code>--v=4</code> argument; I am having difficulties finding way to pass in this flag to Kubelet. </p>

<p>I am using <code>kubeadm init</code> method to launch small scale cluster, where master is also tainted so it can serve as minion. can you help in in enabling kubelet logging verbosity ?</p>

<p>1) ssh to the master node</p>

<p>2) append <code>/var/lib/kubelet/kubeadm-flags.env</code> file with <code>--v=4</code>, i.e.</p>

<pre><code>KUBELET_KUBEADM_ARGS=--cgroup-driver=cgroupfs --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1 --v=4
</code></pre>

<p>3) restart kubelet service</p>

<pre><code>sudo systemctl restart kubelet
</code></pre>
