How to Upgrade OpenShift 4 between different minor versions via "oc" cli

Updated 2020-10-29T16:32:10+00:00


  • Upgrade from one minor version to another via oc cli tool using fast-4.x/y (or other) channels.

    NOTE: For fully supported releases (GA), you must use only fast or stable channels, more info here.


  • OpenShift Container Platform
    • 4.1 -> 4.2
    • 4.2 -> 4.3
    • 4.3 -> 4.4
    • 4.4 -> 4.5
    • 4.5 -> 4.6

NOTE: This solution uses 4.x and 4.y versions as examples, please change them accordingly. For example, if upgrading from 4.1 to 4.2, then x=1 and y=2.

IMPORTANT: If for some reason you don't see the proper upgrade path, double check the channel modification step and/or raise a case asking support, never use oc adm upgrade --force to upgrade production environments unless it was recommended by Red Hat due to some specific workaround, it could leave the cluster completely unusable/broken.

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.