Skip to content

Latest commit

 

History

History
60 lines (34 loc) · 1.36 KB

upgrade.rst

File metadata and controls

60 lines (34 loc) · 1.36 KB

Upgrade a Platform with the latest dev build

Prerequisites

  • A Platform already installed with all pod up & running
  • A new metalk8s.iso image with a higher version

Procedure

If upgrading from a lower patch, minor or major version just follow the standard upgrade procedure </operation/upgrade>

If upgrading from the same patch, minor and major version:

  1. Upload the new metalk8s.iso on the bootstrap node
  2. Locate how metalk8s.iso is mounted

grep metalk8s- /etc/fstab /root/metalk8s.iso /srv/scality/metalk8s- iso9660 nofail,ro 0 0

  1. Unmount the current metalk8s.iso

umount /srv/scality/metalk8s-

  1. Copy the new metalk8s.iso in place of the old one

cp metalk8s.iso /root/metalk8s.iso

  1. Mount the new metalk8s.iso

mount /root/metalk8s.iso /srv/scality/metalk8s-

  1. Stop salt-master container on bootstrap node

crictl stop $(crictl ps -q --label io.kubernetes.container.name=salt-master --state Running)

  1. Provision the new metalk8s ISO content

/srv/scality/metalk8s-/iso-manager.sh

  1. Upgrade the cluster

/srv/scality/metalk8s-/upgrade.sh