<p>I am following the tutorial here about kserve <a href="https://github.com/kserve/modelmesh-serving/blob/main/docs/quickstart.md" rel="nofollow noreferrer">https://github.com/kserve/modelmesh-serving/blob/main/docs/quickstart.md</a></p>
<p>Is this my docker&amp;k8s issue? I have spent hours trying to debug but to no avail.</p>
<p>I am getting the following error:</p>
<pre><code>
Events:
  Type     Reason     Age    From               Message
  ----     ------     ----   ----               -------
  Normal   Scheduled  4m20s  default-scheduler  Successfully assigned modelmesh-serving/modelmesh-serving-mlserver-0.x-77cc8fd548-xdgvr to minikube
  Normal   Pulling    4m18s  kubelet            Pulling image &quot;kserve/modelmesh:v0.9.0-rc0&quot;
  Normal   Pulled     3m18s  kubelet            Successfully pulled image &quot;kserve/modelmesh:v0.9.0-rc0&quot; in 59.419620166s
  Normal   Created    3m18s  kubelet            Created container mm
  Normal   Started    3m17s  kubelet            Started container mm
  Normal   Pulling    3m17s  kubelet            Pulling image &quot;seldonio/mlserver:0.5.2&quot;
  Warning  Failed     68s    kubelet            Failed to pull image &quot;seldonio/mlserver:0.5.2&quot;: rpc error: code = Unknown desc = context deadline exceeded
  Warning  Failed     68s    kubelet            Error: ErrImagePull
  Normal   Pulling    68s    kubelet            Pulling image &quot;kserve/modelmesh-runtime-adapter:v0.9.0-rc0&quot;

</code></pre>

bonijad383
<p>As mentioned by @Rafał Leszko, The image “<strong>seldonio/mlserver:0.5.2</strong>” you are trying to pull is very large which possibly throws the error: <strong>ErrImagePull: context deadline error</strong>. You can still pull the image with <code>docker pull</code> after which the scheduling succeedes.</p>
<p>When the timeout is exceeded, kubelet will cancel the request, throw out an error. The possible workaround is by setting or increasing the parameter <code>--runtime-request-timeout duration</code>  via the config file(in /var/lib/kubelet) by adjusting the timeout and then pull the image by running the command <strong><code>docker pull imagename</code></strong>.</p>
<p>See <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/" rel="nofollow noreferrer">kubelet-config-file</a> for more information.</p>
