Alauda Container Platform Registry Upgrade Guide
TOC
Prerequisites
- Administrator privileges for the Alauda Container Platform.
- The old plugin refers to versions of Alauda Container Platform v4.1 (inclusive) and earlier.
- The new plugin refers to versions of Alauda Container Platform v4.2 (inclusive) and later.
Overview
This document provides instructions for upgrading the Old Plugin to New Plugin. Due to the name of cluster plugin change, manual intervention is required based on storage type.
Upgrade Steps
Environment Check and Preprocessing
Old Plugin Not Installed
If the old plugin was never installed, you just need to clean up the old plugin from [Marketplace/Cluster Plugins]:
Old Plugin Installed
If the old plugin is installed in any cluster, follow the migration procedure based on your storage type.
S3 Storage Migration
Characteristics: Automatic data migration, no manual operation needed
Procedure:
- Backup Old Plugin Configuration: (Execute in workload cluster where the old plugin is installed)
- Uninstall Old Plugin: (Execute in Global cluster)
- Install New Plugin (Execute in workload cluster where the plugin will be installed)
- Edit backup file
backup-clusterplugininstances.yaml, replace allinternal-docker-registrywithimage-registry - Apply new configuration:
- Cleanup Old Plugin From [Marketplace/Cluster Plugins]: (Execute in Global cluster)
NFS Storage Migration
Characteristics: Manual PV retention and reclaim policy modification required.
Procedure:
- Record PV Information: (Execute in workload cluster where the old plugin is installed)
- Modify PV Reclaim Policy: (Execute in workload cluster where the old plugin is installed)
- Backup Old Plugin Configuration (Same as S3 Step 1)
- Uninstall Old Plugin (Same as S3 Step 2)
- Release PV Binding: (Execute in workload cluster where the old plugin is installed)
- Install New Plugin (Important: You must set the
config.persistence.volumeNamefor the new plugin to retain the old data)
- Edit configuration file
backup-clusterplugininstances.yaml, set config.persistence.volumeName:<OLD_PV> - Apply configuration (Same as S3 Step 3)
- Cleanup Old Plugin From [Marketplace/Cluster Plugins] (Same as S3 Step 4)
Local Storage Migration
Characteristics: Manual data copy required
Procedure:
- Backup Old Plugin Configuration (Same as S3 Step 1)
- Uninstall Old Plugin (Same as S3 Step 2)
- Install New Plugin (Same as S3 Step 3)
- Data Migration:
- ssh login to old plugin Pod node, copy data from old directory to new directory with all file permissions:
- Cleanup Old Plugin From [Marketplace/Cluster Plugins] (Same as S3 Step 4)