<p>I'm currently building a containerized Kubernetes Cluster.</p>

<p>When trying to get start the kubelet binary I get this fail </p>

<pre><code>server.go:233] failed to run Kubelet: could not detect clock speed from output: ""
</code></pre>

<p>I start the kubelet with</p>

<pre class="lang-js prettyprint-override"><code>/bin/kubelet \
--address 192.168.0.4 \
--allow-privileged true \
--anonymous-auth true \
--authorization-mode AlwaysAllow \
--cloud-provider ""\
--cni-bin-dir /opt/cni/bin \
--cni-conf-dir /etc/cni/net.d \
--containerized true \
--container-runtime remote \
--container-runtime-endpoint unix:///var/run/containerd/containerd.sock \
--image-pull-progress-deadline 2m \
--kubeconfig /var/lib/kubelet/kubeconfig \
--network-plugin cni \
--register-node true \
--root-dir /var/lib/kubelet \
--v 2
</code></pre>



<p>Onto an alpine image. The image is run privileged.</p>

<p>Checking the corresponding sourcecode did not reveal the source of the issue.
Does someone have direction to point me to?</p>

jcgleissner
<p>The solution was adding a volume to link to the cgroup, so cadvisor had the required rights to read the required file.</p>

<pre><code>-v /cgroup:/sys/fs/cgroup:ro
</code></pre>
