SUSE Multi-Linux Manager 代理升级

Before running the upgrade command, it is required to update the host operating system. Updating the host operating system will also result in the update of the SUSE Multi-Linux Manager tooling such as the mgrpxy tool.

过程:升级代理
  1. Refresh software repositories with zypper:

    zypper ref
  2. 根据主机操作系统执行以下步骤:

    对于 SL Micro 等事务性系统:
    1. Apply available updates with transactional-update:

      transactional-update
    2. If updates were applied, reboot.

    对于 SUSE Linux Enterprise Server:

    Update installed software with zypper:

    zypper up
  3. The SUSE Multi-Linux Manager Proxy containers running on podman can be updated using the following command:

    mgrpxy upgrade podman

    或者,可使用以下命令更新 Kubernetes 群集上运行的容器:

    mgrpxy upgrade kubernetes
  4. 在 Podman 上,清理未使用的容器映像以释放磁盘空间:

    podman image prune -a

    On Kubernetes the image cleanup is handled automatically, or it depends on the Kubernetes distribution.

    In some upgrades, multiple *.rpmnew and *.rpmsave files may be generated. The presence or number of these files does not indicate that manual action is required. In SUSE Multi-Linux Manager container environments, required configuration changes are applied automatically during the upgrade process. These files are created as a result of differences between packaged defaults and existing configuration files, and may also include internal or informational changes that are not intended to be merged. If manual action is required for a configuration change, it will be explicitly documented in the release notes or upgrade documentation.

    Do not treat these files as a post-upgrade checklist or merge them in bulk. Only review a file if you are actively troubleshooting a specific issue and understand the impact of the configuration it contains. If a change is required, it should be applied intentionally based on a known requirement, not by copying differences from these files. If you are unsure, leave the file unchanged.

如果升级到特定版本时未指定标记参数,则默认会升级到最新版本。要升级到特定版本,请为标记参数提供所需的映像标记。

虽然可以使用特定标记升级特定容器,但此功能仅用于应用 PTF。

在正常情况下,我们强烈建议为所有代理容器使用相同的标记,以确保配置一致性。

For air-gapped installations, first upgrade the container RPM packages, then run the mgrpxy upgrade podman command.