This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.5.6. Upgrading the restricted network cluster
Update the restricted network cluster to the OpenShift Container Platform version that you downloaded the release images for.
Prerequisites
- You mirrored the images for the new release to your registry.
- You applied the release image signature ConfigMap for the new release to your cluster.
- You obtained the sha256 sum value for the release from the image signature ConfigMap.
-
Install the OpenShift CLI (
oc), version 4.4.8 or later.
Procedure
Update the cluster:
oc adm upgrade --allow-explicit-upgrade --to-image ${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}<sha256_sum_value>$ oc adm upgrade --allow-explicit-upgrade --to-image ${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}<sha256_sum_value>1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- The
<sha256_sum_value>value is the sha256 sum value for the release from the image signature ConfigMap, for example,@sha256:81154f5c03294534e1eaf0319bef7a601134f891689ccede5d705ef659aa8c92
If you use an
ImageContentSourcePolicyfor the mirror registry, you can use the canonical registry name instead ofLOCAL_REGISTRY.注意You can only configure global pull secrets for clusters that have an
ImageContentSourcePolicyobject. You cannot add a pull secret to a project.