9.12 Resolve ImagePullBackOff

This topic provides the systematic instructions to resolve the ImagePullBackOff.

  1. Run the following command to inspect the failed pod for image details.
    kubectl describe pod <pod_name> -n <namespace> |grep -i image
  2. Verify the USERNAME, PASSWORD, IMAGE_TAG, REPOSITORY_URL, and TARGET_REPOSITORY_PREFIX values in cnf_image.properties, and confirm that the required domain is set to Yes.
  3. If a value is incorrect, update it and rebuild the image.
  4. After the correct images are available, verify that the pod reaches the Running state.
  5. Check the image-build logs to confirm that the required image was built and pushed to the Docker repository successfully.