<p>How to get more details about what is actually the problem?</p>
<pre><code>kubtectl logs foo-app-5695559f9c-ntrqf

Error from server (BadRequest): container &quot;foo&quot; in pod &quot;foo-app-5695559f9c-ntrqf&quot; 
      is waiting to start: trying and failing to pull image
</code></pre>
<p>I would like to see the http traffic between K8s and the container registry.</p>

guettli
<p>If a container has not started, then there are no container logs from that pod to view, as appears to be the case.</p>
<p>To get more information about the pod or why the container may not be starting, you can use <a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe" rel="nofollow noreferrer"><code>kubectl describe pod</code></a> which should show you both the pod status and the events relevant to the given pod:</p>
<pre><code>kubectl describe pod &lt;pod-name&gt; --namespace &lt;namespace&gt;
</code></pre>
<p>The most common error is an access issue to the registry. Make sure you have an <code>imagePullSecrets</code> set for the registry that you're trying to pull from.</p>
<p>See: <a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/" rel="nofollow noreferrer">How to pull image from a private registry.</a></p>
