<p>I am at the initial stage of Kubernetes. I've just created a pod using the command:</p>
<pre><code>kubectl apply -f posts.yaml
</code></pre>
<p>It returns me the following:</p>
<pre><code>pod/posts created
</code></pre>
<p>After that when I run <code>kubectl get pods</code></p>
<p>I found the result as following:</p>
<pre><code>NAME    READY   STATUS         RESTARTS   AGE
posts   0/1     ErrImagePull   0          2m4s
</code></pre>
<p>Here is my <code>posts.yaml</code> file in below:</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
    name: posts
spec:
    containers:
        - name: posts
          image: bappa/posts:0.0.1
</code></pre>

<p>This means that kubernetes could not pull the image from the repository. Does the repo maybe need some authorization to allow image pull?</p>
<p>You can do</p>
<pre><code>kubectl describe pod posts
</code></pre>
<p>to get some more info.</p>
