title: Getting "ErrImageNeverPull" in pods
body: <p>Am using <code>minikube</code> to test out the deployment and was going through <a href="https://itnext.io/running-asp-net-core-on-minikube-ad69472c4c95?gi=c0651899e562" rel="noreferrer">this</a> link</p>
  <p>And my manifest file for deployment is like</p>
  <pre><code>apiVersion: extensions/v1beta1
  kind: Deployment
  metadata:
    name: webapp
  spec:
    replicas: 1
    template:
      metadata:
        labels:
          app: webapp
      spec:
        containers:
        - name: webapp
          imagePullPolicy: Never # &lt;-- here we go!
          image: sams
          ports:
          - containerPort: 80
  </code></pre>
  <p>and after this when I tried to execute the below commands got output</p>
  <pre><code>user@usesr:~/Downloads$ kubectl create -f mydeployment.yaml --validate=false
  
  deployment &quot;webapp&quot; created
  
  user@user:~/Downloads$ kubectl get deployments
  
  NAME      DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
  ----     --------   -------   ----------   ---------   ----              
  webapp    1         1         1            0           9s
  
  user@user:~/Downloads$ kubectl get pods
  
  NAME                     READY     STATUS              RESTARTS   AGE
  ----     --------   -------   ----------   ---------   ----              
  webapp-5bf5bd94d-2xgs8   0/1       ErrImageNeverPull   0          21s
  </code></pre>
  <p>I tried to pull images even from <code>Docker-Hub</code> by removing line <code>imagePullPolicy: Never </code> from the <code>deployment.yml</code> But getting the same error.
  Can anyone help me here to identify where and what's going wrong?</p>
  <h2>Updated the question as per the comment</h2>
  <pre><code>kubectl describe pod $POD_NAME
  Name:           webapp-5bf5bd94d-2xgs8
  Namespace:      default
  Node:           minikube/10.0.2.15
  Start Time:     Fri, 31 May 2019 14:25:41 +0530
  Labels:         app=webapp
              pod-template-hash=5bf5bd94d
  Annotations:    &lt;none&gt;
  Status:         Pending
  IP:             172.17.0.4
  Controlled By:  ReplicaSet/webapp-5bf5bd94d
  Containers:
    webapp:
      Container ID:   
      Image:          sams
      Image ID:       
      Port:           80/TCP
      State:          Waiting
        Reason:       ErrImageNeverPull
      Ready:          False
      Restart Count:  0
      Environment:    &lt;none&gt;
      Mounts:
        /var/run/secrets/kubernetes.io/serviceaccount from default-token-wf82w (ro)
  Conditions:
    Type              Status
    Initialized       True 
    Ready             False 
    ContainersReady   False 
    PodScheduled      True 
  Volumes:
    default-token-wf82w:
      Type:        Secret (a volume populated by a Secret)
      SecretName:  default-token-wf82w
      Optional:    false
  QoS Class:       BestEffort
  Node-Selectors:  &lt;none&gt;
  Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
               node.kubernetes.io/unreachable:NoExecute for 300s
  Events:
    Type     Reason             Age                From               Message
    ----     ------             ----               ----               -------
    Normal   Scheduled          18m                default-scheduler  Successfully assigned default/webapp-5bf5bd94d-2xgs8 to minikube
    Warning  ErrImageNeverPull  8m (x50 over 18m)  kubelet, minikube  Container image &quot;sams&quot; is not present with pull policy of Never
    Warning  Failed             3m (x73 over 18m)  kubelet, minikube  Error: ErrImageNeverPull    
  
  docker images:
  
  REPOSITORY                             TAG                 IMAGE ID            CREATED             SIZE
  ----------                             ---                 --------            -------             ----
  &lt;none&gt;                                 &lt;none&gt;              723ce2b3d962        3 hours ago         1.91GB
  bean_ben501/sams                       latest              c7c4a04713f4        4 hours ago         278MB
  sams                                   latest              c7c4a04713f4        4 hours ago         278MB
  sams                                   v1                  c7c4a04713f4        4 hours ago         278MB
  &lt;none&gt;                                 &lt;none&gt;              b222da630bc3        4 hours ago         1.91GB
  mcr.microsoft.com/dotnet/core/sdk      2.2-stretch         e4747ec2aaff        9 days ago          1.74GB
  mcr.microsoft.com/dotnet/core/aspnet   2.2-stretch-slim    f6d51449c477        9 days ago          260MB
  </code></pre>
  <hr />