<p>I am trying to deploy <strong>istio's sample bookinfo application</strong> using the below command:</p>
<pre><code>kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
</code></pre>
<p>from <a href="https://istio.io/latest/docs/setup/getting-started/#bookinfo" rel="nofollow noreferrer">here</a></p>
<p>but each time I am getting <strong>ImagePullBackoff error</strong> like this:</p>
<pre><code>NAME                              READY   STATUS             RESTARTS   AGE
details-v1-c74755ddf-m878f        2/2     Running            0          6m32s
productpage-v1-778ddd95c6-pdqsk   2/2     Running            0          6m32s
ratings-v1-5564969465-956bq       2/2     Running            0          6m32s
reviews-v1-56f6655686-j7lb6       1/2     ImagePullBackOff   0          6m32s
reviews-v2-6b977f8ff5-55tgm       1/2     ImagePullBackOff   0          6m32s
reviews-v3-776b979464-9v7x5       1/2     ImagePullBackOff   0          6m32s
</code></pre>
<p>For error details, I have run :</p>
<pre><code>kubectl describe pod reviews-v1-56f6655686-j7lb6
</code></pre>
<p>Which returns these:</p>
<pre><code>Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  7m41s                  default-scheduler  Successfully assigned default/reviews-v1-56f6655686-j7lb6 to minikube
  Normal   Pulled     7m39s                  kubelet            Container image &quot;docker.io/istio/proxyv2:1.15.3&quot; already present on machine
  Normal   Created    7m39s                  kubelet            Created container istio-init
  Normal   Started    7m39s                  kubelet            Started container istio-init
  Warning  Failed     5m39s                  kubelet            Failed to pull image &quot;docker.io/istio/examples-bookinfo-reviews-v1:1.17.0&quot;: rpc error: code = Unknown desc = context deadline exceeded
  Warning  Failed     5m39s                  kubelet            Error: ErrImagePull
  Normal   Pulled     5m39s                  kubelet            Container image &quot;docker.io/istio/proxyv2:1.15.3&quot; already present on machine
  Normal   Created    5m39s                  kubelet            Created container istio-proxy
  Normal   Started    5m39s                  kubelet            Started container istio-proxy
  Normal   BackOff    5m36s (x3 over 5m38s)  kubelet            Back-off pulling image &quot;docker.io/istio/examples-bookinfo-reviews-v1:1.17.0&quot;
  Warning  Failed     5m36s (x3 over 5m38s)  kubelet            Error: ImagePullBackOff
  Normal   Pulling    5m25s (x2 over 7m38s)  kubelet            Pulling image &quot;docker.io/istio/examples-bookinfo-reviews-v1:1.17.0&quot;
</code></pre>
<p>Do I need to build dockerfile first and push it to the local repository? There are no clear instructions there or I failed to find any.</p>
<p>Can anybody help?</p>

<p>If you check in dockerhub the image is there:</p>
<p><a href="https://hub.docker.com/r/istio/examples-bookinfo-reviews-v1/tags" rel="nofollow noreferrer">https://hub.docker.com/r/istio/examples-bookinfo-reviews-v1/tags</a></p>
<p>So the error that you need to deal with is <code>context deadline exceeded</code> while trying to pull it from dockerhub. This is likely a networking error (a generic Go error saying it took too long), depending on where your cluster is running you can do manually a docker pull from the nodes and that should work.</p>
<p>EDIT: for minikube do a minikube ssh and then a docker pull</p>
