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
If upgrading from the same patch, minor and major version:
Upload the new metalk8s.iso on the bootstrap node
Locate how metalk8s.iso is mounted
grep metalk8s-127.0.4-dev /etc/fstab /root/metalk8s.iso /srv/scality/metalk8s-127.0.4-dev iso9660 nofail,ro 0 0
Unmount the current metalk8s.iso
umount /srv/scality/metalk8s-127.0.4-dev
Copy the new metalk8s.iso in place of the old one
cp metalk8s.iso /root/metalk8s.iso
Mount the new metalk8s.iso
mount /root/metalk8s.iso /srv/scality/metalk8s-127.0.4-dev
Stop salt-master container on bootstrap node
crictl stop $(crictl ps -q --label io.kubernetes.container.name=salt-master --state Running)
Provision the new metalk8s ISO content
/srv/scality/metalk8s-127.0.4-dev/iso-manager.sh
Upgrade the cluster
/srv/scality/metalk8s-127.0.4-dev/upgrade.sh