Source Build (S2I) always pulls image in OpenShift Container Platform 4

Solution Verified - Updated -

Issue

  • When using a Source-Build (Source-to-Image, S2I) on OpenShift Container Platform 4, the source image always gets pulled even if it is already present in the OpenShift Container Platform Worker Node:

    status:
    [..]
      stages:
        - name: PullImages
          startTime: '2021-01-27T10:47:53Z'
          durationMilliseconds: 103979
    

This behavior differs from OpenShift Container Platform 3.11 and as a result builds take much longer to complete.

  • Builds on OpenShift Container Platform 4 take longer than on OpenShift Container Platform 3.11.

Environment

  • Red Hat OpenShift Container Platform (OCP) 4

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content