Migrate MicroShift to image mode for RHEL
Migrating MicroShift from a Red Hat Enterprise Linux for Edge (RHEL for Edge) system to a image mode for RHEL system requires building a new image mode for RHEL image containing the required version of MicroShift and any associated optional RPMs.
See the Red Hat Enterprise Linux (RHEL) documentation for general instructions on migrating RHEL for Edge systems to image mode for RHEL using the bootc switch command. Plan the upgrade process carefully. The following tips apply:
-
Follow the instructions in the RHEL documentation for converting
rpm-ostreeblueprint files to image mode container files. -
You can use the
rpm-ostree compose container-encapsulateimage-compose command to create a base container image that can be used for bootc container builds. Then you can derive and familiarize yourself with an image mode for RHEL image that is based on existingostreecommits. -
To fully adopt image mode for RHEL, define a container build pipeline.
-
Plan for UID and GID drift because RHEL for Edge and image mode for RHEL are not derived from the same parent image. See the RHEL documentation for more information.