Upgrading Harbor is a relatively straightforward process, but the complexity can increase based on:
You can read the official upgrade documentation for more information.
The table below contains the complete upgrade path. When upgrading, you need to upgrade the Operator and Harbor instance versions in sequence.
No | Alauda Build of Harbor Operator Version |
---|---|
1 | 2.12.z |
In the version numbers above, the .z
indicates the latest available patch version for that minor release.
When performing an upgrade, you should always use the most recent patch version to ensure you benefit from the latest security updates and bug fixes.
The latest patch versions for each release can be found in the Release Notes.
If your Harbor version is lower than 2.12.0
, please refer to the Harbor Data Migration to complete the upgrade.
To safely upgrade your Harbor version to a new version, please note the following:
When upgrading, you need to upgrade the version and instance version in sequence according to the upgrade path. Upgrading the Operator will not automatically upgrade the instance version, and the upgraded Operator will not manage old Harbor instances, so you need to manually trigger the instance upgrade in time.
Go to the Administrator
-> Marketplace
-> Operator Hub
page, switch to the target cluster and enter the Alauda Build of Harbor
Operator details page, click on the instance name you want to upgrade to enter the instance details page, and click the upgrade button on the instance details page.
Go to the Administrator
-> Clusters
-> Resources
page, switch to the target cluster and search for the Harbor
resource type, edit the instance resource you want to upgrade, modify the spec.version
field to the desired instance version, and save it.