
Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Upgrade Guide: SMCP 5.9 to SMCP 5.10
Prerequisites
Before beginning the upgrade process, ensure the following requirements are met:
Minimum Kubernetes version for Workload Cluster should be
v1.26.
Upgrade Procedure
1. Backup Current System
Follow the Backup Guide to back up the 5.9 management plane. Before proceeding, verify that the backup was created successfully.
2. Take etcd Snapshot
Before making any changes to the system, it's crucial to take a snapshot of the etcd cluster. This provides an additional recovery point if needed.
a. Check the etcd cluster status and identify the leader node:
Make a note of which node is the leader.
b. Take the etcd cluster backup:
Replace <path/backupfile.db> with the desired path and filename for your backup and <master_IP> with the IP address of the master node.
c. Validate the etcd backup:
Ensure that the snapshot status shows as valid before proceeding.
3. Destroy Old Cluster
Remove the existing 1.25-based nodelet cluster:
4. Clean Up Configuration
On all master nodes, clean up the certificate directory:
Verify the directory is empty before proceeding.
5. Download and Install New Artifacts
To obtain and install the SMCP 5.10 artifacts:
a. Download the download script:
b. Make the script executable:
c. Run the download script:
Replace <PF9-SHARED-SECRET> with your Platform9 shared secret.
d. After downloading the artifacts, verify their integrity using the following command:
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.10.0).
e. Run the install.sh script to extract and place the artifacts under /opt/pf9/airctl directory.
Refer to the SMCP 5.10 release notes for the exact airctl version used by the install.sh script.
For example, when upgrading to SMCP v5.10.0 :
6. Configure New Management Cluster
Update configuration files before deployment:
Edit
airctl-config.yaml:Update
hostAgentRepoto use SMCP 5.10 images.dockerRepoto use SMCP 5.10 images.
Edit
nodelet-bootstrap.yaml:Update
systemImagesto use SMCP 5.10 image filesSet
userImagesto point to SMCP 5.9 image filesAdd
isAirgapped: truefor offline installations
Example airctl-config.yaml and nodelet-bootstrap.yaml snippet:
7. Deploy New Management Cluster
Deploy the new 1.27 based nodelet management cluster:
Initialize the management plane:
Monitor the deployment progress and check for any errors.
8. Restore from Backup
Restore the SMCP 5.9 by following the restore guide for the 5.9 management plane on top of the 1.27 nodelet cluster.
After restoring, you might see errors in the Consul pod saying ACL not found. These errors are harmless and can be ignored.
Therefore, SMCP currently skips the Consul upgrade in the upgrade step and installs the upgraded Consul during the restore process itself.
9. Verify DU Status
Check that the DU is in a ready state:
Wait until all components show as ready before proceeding.
10. Upgrade DU Components
To upgrade the DU components to5.10, follow the upgrade guide.
To prevent potential ImagePullBackOff errors, refer to additional-information
After upgrade, verify DU status again:
11. Verify Upgrade in GUI
Log in to the management UI and confirm the version is displayed as 5.10.
12. Push New Kubernetes Images
Push images for Kubernetes 1.27, 1.28, and 1.29 to the registry (if applicable):
To push all new images at once:
If the privateRegistryType value is custom, the images must be manually pushed to the custom registry.
13. Upgrade Host Components
Upgrade the host-side components:
14. Verify Status and Version
After upgrading, verify management plane services are ready. At this point all the components have been upgraded to SMCP 5.10 (LTS4). Run the following command to verify.
Now, proceed with the actual workload cluster upgrades either using the GUI or API.