<p>Sorry about a newbie question. I am trying to deploy an image into k3d (a dockerized version of k3s).</p>
<pre><code>k3d image import -c my-cluster registry.gitlab.com/aaa/bbb/ccc/hello123
</code></pre>
<p>Now I can see the image on a node:</p>
<pre><code>kubectl get node my-node -o json | grep hello123
</code></pre>
<p>However, the documentation doesn't say much about what &quot;import&quot; does. Is my image running? Is it allocated to a pod yet? Where can I find its logs?</p>
<p>If I knew what pod it's running in, I could do <code>kubectl logs</code>. The list of the cluster's pods doesn't show anything relevant.</p>
<p>I am beginning to think my image isn't running yet.</p>
<p>Edit: This if further confirmed by</p>
<pre><code>kubectl get pods --all-namespaces -o jsonpath=&quot;{.items[*].spec.containers[*].image}&quot; |\
tr -s '[[:space:]]' '\n' |\
sort |\
uniq -c
</code></pre>
<p>showing nothing relevant.</p>
<p>What's the next step?</p>

Irina Rapoport
<p>You have just pulled the image to the cluster registry, the image has not been yet assigned to a pod.</p>
<p>Once you create a pod with the same image and image tag, it will try to pull from the local registry.</p>
<p>If you could ssh to the k8s node (<code>kubectl get nodes -o wide</code> and <code>ssh user@nodeip</code>), you can run the docker commands like:</p>
<pre><code>docker images
</code></pre>
<p>You can expect to see the image that you pulled in the list.</p>
<p>If non of the pods are running the <code>docker ps</code> will return you an empty list.</p>
