<p>Kubernetes kubelets can be run with a specific set of options (<a href="https://kubernetes.io/docs/admin/kubelet/" rel="nofollow noreferrer">https://kubernetes.io/docs/admin/kubelet/</a>). Is there a way to see, through kubectl or similar way, the options that kubelet was run with? </p>

<p>I basically want to know if <code>--allow-privileged</code> was passed in, but see no way of checking that.</p>

<p>Use <code>ps x | grep kubelet</code> or <code>cat /proc/$(pidof kubelet)/cmdline</code> to get commandline.</p>

<p>If kubelet is installed by <code>apt</code> or <code>yum</code>, mostly it's working as a systemd service. </p>

<p>Take a look at files in <code>/etc/systemd/system/kubelet.service.d/</code> folder, where the arguments kubelet running with.</p>
