
Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Troubleshooting Pod Issues
ImagePullBackOff
If you encounter an ImagePullBackOff error with one or more pods, the image may no longer be available upstream (i.e. no longer on DockerHub) or within the specified private repository.
It may be possible to still leverage this image if it is present one or more nodes, indicated by running pods for the same StatefulSet or Deployment. For example:
Save/Load Docker Image from Cache
Identify the image – either by name, or image ID, which can be found in the
kubectl describe podorkubectl get podoutput – for anyRunningpod.
SSH to the
Nodeon which the targetedRunningpod resides, and list the Docker images.
Save the Docker image – specifying the
Image ID,Repository, andTag.
Note: If the <repository>:<tag> is not specified, the Docker image will be imported without any identifying information and Kubernetes will continue to fail to spawn the pod as a result.
Transfer the file (i.e. using
rsyncorscp) to the destinationNodewhere the pod is inImagePullBackOffstate.Load the Docker image on that
Node.
Example
CrashLoopBackOff
NodeAffinity
You may delete the pod stuck in node affinity status as another pod is spawned for the same application.