Apply updates on an RHEL for Edge system
To update MicroShift on Red Hat Enterprise Linux for Edge (RHEL for Edge), embed the new version of MicroShift on a new operating system image.
|
|
You cannot downgrade MicroShift with this process. Downgrades other than automatic rollbacks are not supported. |
-
The system requirements for installing MicroShift have been met.
-
You have root user access to the host.
-
The version of MicroShift you have is compatible with the RHEL for Edge image you are preparing to use.
-
Create an image builder configuration file for adding the
rhocp-4.20RPM repository source required to pull MicroShift RPMs by running the following command:$ cat > rhocp-4.20.toml <<EOF id = "rhocp-4.20" name = "Red Hat OpenShift Container Platform 4.20 for RHEL 9" type = "yum-baseurl" url = "https://cdn.redhat.com/content/dist/layered/rhel9/$(uname -m)/rhocp/4.20/os" check_gpg = true check_ssl = true system = false rhsm = true EOF -
Add the update RPM source to the image builder by running the following command:
$ sudo composer-cli sources add rhocp-4.20.toml -
Build a new image of RHEL for Edge that contains the new version of MicroShift. To determine the steps required, use the following documentation:
-
Update the host to use the new image of RHEL for Edge. To determine the steps required, use the following documentation:
-
Reboot the host to apply updates by running the following command:
$ sudo systemctl reboot