プロキシのアップグレード
Before running the upgrade command, it is required to upgrade the mgrpxy tool first.
zypperを使用してソフトウェアリポジトリを更新します。zypper ref利用可能な更新を適用します。
SLE Microの場合:
transactional-update更新が適用されたら、
rebootを実行して再起動します。SUSE Linux Enterprise Serverの場合:
zypper up
podman上で実行されるSUSE Manager 5.0プロキシコンテナは、次のコマンドを使用して更新できます。mgrpxy upgrade podmanまたは、Kubernetesクラスタ上で実行されるプロキシコンテナは、次のコマンドを使用して更新できます。
mgrpxy upgrade kubernetespodman上で、未使用のコンテナイメージをクリーンアップしてディスク容量を解放します。
podman image prune -aOn Kubernetes the image cleanup is handled automatically, or it depends on the Kubernetes distribution.
Check for
*.rpmnewand*.rpmsavefiles inside the container:mgrctl exec 'find /etc/ -name "*.rpmnew" -o -name "*.rpmsave"'
When an upgrade includes changes to a default configuration file that has been altered after package installation, instead of overwriting the file, one of these file types is created:
*.rpmnew: contains the new default configuration and leaves your altered file untouched
*.rpmsave: a copy of your altered configuration that has been replaced by the new default fileIf you find any
*.rpmnewor*.rpmsavefiles, examine their content and merge desirable changes.
|
特定のバージョンにアップグレードする際にタグパラメータを指定しない場合、デフォルトで最新バージョンにアップグレードされます。特定のバージョンにアップグレードするには、タグパラメータと目的のイメージタグを指定します。 |
|
特定のタグを使用して特定のコンテナをアップグレードするオプションはありますが、この機能はPTFの適用のみを意図しています。通常の状況下では、すべてのプロキシコンテナに同じタグを使用して一貫性を確保することを強くお勧めします。 |
Air-gappedインストールでは、まずコンテナのRPMパッケージをアップグレードし、その後mgrpxy upgrade podmanコマンドを実行します。