Proxy Upgrade
Before running the upgrade command, it is required to upgrade the mgrpxy tool first.
zypper로 소프트웨어 리포지토리 새로 고침:zypper refApply available updates:
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 명령을 실행합니다.