title: Cannot delete failed pod in Kubernetes Dashboard
body: <p>I'm trying to delete a failed pod from the <code>Pods</code> page on the Kubernetes Web UI, but it is not getting deleted. </p>
  
  <p>I understand what the error itself is, and I believe I have resolved it by using <code>secrets</code>, since this is a private repo. That said, I cannot re-add the pod again correctly, since it already exists.</p>
  
  <p>Here is what I am seeing on the <code>Pods</code> page in the Kubernetes UI:</p>
  
  <p><strong>Pod Status:</strong> <code>Waiting: ContainerCreating</code></p>
  
  <p><strong>Error</strong>:</p>
  
  <pre><code>Failed to pull image "&lt;USERNAME&gt;/&lt;REPO&gt;:&lt;TAG&gt;": 
  failed to run [fetch --no-store docker://&lt;USERNAME&gt;/&lt;REPO&gt;:&lt;TAG&gt;]: 
  exit status 254 stdout: stderr: Flag --no-store has been deprecated, 
  please use --pull-policy=update fetch: Unexpected HTTP code: 401, URL: https://xxxxxx.docker.io/v2/&lt;USERNAME&gt;/&lt;NAMESPACE&gt;/manifests/&lt;TAG&gt;
      Error syncing pod
  </code></pre>
  
  <p>I have also tried deleting the pod with <code>kubectl</code>, but <code>kubectl</code> can't even see the failed pod!</p>
  
  <pre><code>$ kubectl get pods
  No resources found
  $ kubectl get pods --show-all
  No resources found
  </code></pre>
  
  <p>Is there any other way that I can delete this pod?</p>