Title
Create new category
Edit page index title
Edit category
Edit link
Upgrade Guide: SMCP 5.11 to SMCP 5.12
Prerequisites
Before beginning the upgrade process, ensure the following requirements are met:
- Minimum Requirements
- Minimum Kubernetes version for Workload Cluster should be
v1.28.
Upgrade Procedure
1. Backup Current System (optional)
Follow the Backup Guide to back up the 5.11 management plane. Before proceeding, verify that the backup was created successfully.
####
- Download and Install New Artifacts.
To obtain and install the SMCP 5.12 artifacts:
a. Download the download script:
wget https://raw.githubusercontent.com/platform9/support-locker/master/edge-stack/download.shb. Make the script executable:
chmod u+x download.shc. Run the download script:
./download.sh <PF9-SHARED-SECRET> v-5.12.1-<airctl_version>Replace <PF9-SHARED-SECRET> with your Platform9 shared secret.
d. After downloading the artifacts, verify their integrity using the following command:
curl --user-agent <secret> https://pf9-airctl.s3-accelerate.amazonaws.com/<version>/md5sum.txt | md5sum -c -Replace <secret> with the same one used to download the airctl build from S3 and <version> with the SMCP version you're installing (e.g., v5.12.0).
e. Run the install.sh script to extract and place the artifacts under /opt/pf9/airctl directory.
bash install.sh v-5.12.1-<airctl-version>Refer to the SMCP 5.12 release notes for the exact airctl version used by the install.sh script.
For example, when upgrading to SMCP v5.12.0 :
bash install.sh v-5.12.1-38029033. Configure New Management Cluster
Update configuration files before deployment:
Edit
airctl-config.yaml:- Update
hostAgentRepoto use SMCP 5.12 images. dockerRepoto use SMCP 5.12 images.
- Update
Edit
nodelet-bootstrap.yaml:- Update
systemImagesto use SMCP 5.12 image files - Set
userImagesto point to SMCP 5.11 image files - Add
isAirgapped: truefor offline installations
- Update
Example airctl-config.yaml and nodelet-bootstrap.yaml snippet:
hostAgentRepo: /opt/pf9/airctl/hostagent-8-v-5.12.1-3802903.tar.gzdockerRepo: /opt/pf9/airctl/docker-8-v-5.12.1-3802903.tar.gzisAirgapped: truesystemImages:- /opt/pf9/airctl/imgs/kubedu-imgs-v-5.12.1-3802903.tar.gz- /opt/pf9/airctl/imgs/nodelet-imgs-v-5.12.1-3802903.tar.gzuserImages:- /opt/pf9/airctl/imgs/kubedu-imgs-v-5.11.1-3501826.tar.gz4. Upgrade Management Cluster
Starting from the 5.12 release, in-place upgrades are supported. Use the upgrade-mgmt command to perform an in-place upgrade of the management cluster.
airctl advanced-ddu upgrade-mgmt --verbose5. Verify DU Status
Check that the DU is in a ready state:
airctl status# This command displays the current status of the DUWait until all components show as ready before proceeding.
6. Upgrade DU Components
To upgrade the DU components to5.12, follow the upgrade guide.
After upgrade, verify DU status again:
airctl status7. Verify Upgrade in GUI
Log in to the management UI and confirm the version is displayed as 5.12.
8. Push New Kubernetes Images
Push images for Kubernetes 1.29, 1.30, and 1.31 to the registry (if applicable):
sudo airctl advanced-du push-images --img-tar [tar file name]To push all new images at once:
ls -1 /opt/pf9/airctl/imgs/k8s* | xargs -I{} sh -c "sudo /opt/pf9/airctl/airctl --config /opt/pf9/airctl/conf/airctl-config.yaml advanced-du push-images --img-tar {}"If the privateRegistryType value is custom, the images must be manually pushed to the custom registry.
9. Upgrade Host Components
Upgrade the host-side components:
If the upgrade is performed on Ubuntu, execute the following commands in reverse order: first, run airctl upgrade-hosts, followed by airctl configure-hosts.
Refer to the known issues for more information.
airctl configure-hosts --reset-pf9-managed-docker-conf --skip-docker-install --skip-docker-img-import --verbose# This command configures hosts with new settingsairctl hosts-status# Check the status of hosts before proceedingairctl upgrade-hosts --verbose# This command upgrades the host components10. Verify Status and Version
After upgrading, verify management plane services are ready. At this point all the components have been upgraded to SMCP 5.12. Run the following command to verify.
airctl status# Check the status of management planeairctl version# The output should be: v-5.12.1-3802903kubectl get nodes -o wide# Ensure all the nodes are in Ready stateNow, proceed with the actual workload cluster upgrades either using the GUI or API.