When using image from imagestream in a OpenShift cronjob, the job pod gets stuck in status "ImagePullBackOff"

Solution Verified - Updated -

Issue

  • How to specify OpenShift image (image stream) when creating a Job?
  • The cronjob pod is stuck with ImagePullBackOff status:

    pod/cronjob-image-1581022800-sf6js           0/1     ImagePullBackOff   0          17h
    

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 4.x
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In