1.2. Standalone MicroShift updates


Consider the following when planning to update MicroShift:

  • You can potentially update MicroShift without reinstalling your applications and Operators.
  • RHEL or RHEL for Edge updates are only required to update MicroShift if the existing operating system is not compatible with the new version of MicroShift that you want to use.
  • MicroShift operates as an in-place update and does not require removal of the previous version. Data backups beyond those required for the usual functioning of your applications are also not required.
注記

Only rpm-ostree updates include automatic rollbacks.

1.2.1. RHEL for Edge updates

Using the RHEL for Edge rpm-ostree update path allows for automated backup and system rollback in case any part of the update fails.

  • You can update MicroShift on an rpm-ostree system such as RHEL for Edge by building a new system image containing the new version of MicroShift.
  • The rpm-ostree image can be the same version or an updated version, but the versions of RHEL for Edge and MicroShift must be compatible.

The following features are available in the RHEL for Edge update path:

  • The system automatically rolls back to a previous healthy system state if the update fails.
  • Applications do not need to be reinstalled.
  • Operators do not need to be reinstalled.
  • You can update an application without updating MicroShift using this update type.
  • The image you build can contain other updates as needed.

To begin a MicroShift update by embedding in a RHEL for Edge image, use the procedures in the following documentation:

To understand more about greenboot, see the following documentation:

1.2.2. Manual RPM updates

You can update MicroShift manually on a non-OSTree system such as Red Hat Enterprise Linux (RHEL) by updating the RPMs.

  • To complete this update type, use the subscription manager to enable the repository that contains the new RPMs.
  • Use manual processes to ensure system health and complete additional system backups.
  • To begin a manual RPM update, use the procedures in the following documentation:
  • About updating MicroShift RPMs manually

1.2.2.1. Keeping MicroShift and RHEL in a supported configuration

When using RPM updates, avoid creating an unsupported configuration or breaking your cluster by carefully managing your RHEL repositories.

Prerequisites

Procedure

  1. Avoid unintended updates by locking your operating system version by running the following command:

    $ sudo subscription-manager release --set=9.6
  2. If you are using an EUS MicroShift release, disable the RHEL standard-support-scope repositories by running the following command:

    $ sudo subscription-manager repos \
        --disable=rhel-9-for-$(uname -m)-appstream-rpms \ 
    1
    
        --disable=rhel-9-for-$(uname -m)-baseos-rpms
    1
    You can replace 9 with the major version of your compatible RHEL system if it is not same version given in this example.
  3. After you disable the standard-support repositories, enable the RHEL EUS repos by running the following command:

    $ sudo subscription-manager repos \
        --enable rhel-9-for-$(uname -m)-appstream-eus-rpms \  
    1
    
        --enable rhel-9-for-$(uname -m)-baseos-eus-rpms
    1
    You can replace 9 with the major version of your compatible RHEL system if it is not same version given in this example.

Verification

  • List the repositories you have enabled for RHEL by running the following command:

    $ sudo subscription-manager repos --list-enabled

    Example output

    +----------------------------------------------------------+
        Available Repositories in /etc/yum.repos.d/redhat.repo
    +----------------------------------------------------------+
    Repo ID:   rhel-9-for-x86_64-baseos-eus-rpms
    Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS - Extended Update Support (RPMs)
    Repo URL:  https://cdn.redhat.com/content/eus/rhel9/$releasever/x86_64/baseos/os
    Enabled:   1
    Repo ID:   rhel-9-for-x86_64-appstream-eus-rpms
    Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream - Extended Update Support (RPMs)
    Repo URL:  https://cdn.redhat.com/content/eus/rhel9/$releasever/x86_64/appstream/os
    Enabled:   1

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る