This document describes how to upgrade Tanzu Application Platform.
You can perform fresh install of Tanzu Application Platform by following the instructions in Installing Tanzu Application Platform.
Before you upgrade Tanzu Application Platform:
- Verify that you meet all the prerequisites of the target Tanzu Application Platform version. If the target Tanzu Application Platform version does not support your existing Kubernetes version, VMware recommends upgrading to a supported version before proceeding with the upgrade.
- For information about installing your Tanzu Application Platform, see Install your Tanzu Application Platform profile
- For information about installing or updating the Tanzu CLI and plug-ins, see Install or update the Tanzu CLI and plug-ins
- For information on Tanzu Application Platform GUI considerations, see Tanzu Application Platform GUI Considerations
- Verify all packages are reconciled by running
tanzu package installed list -A
Follow these steps to add the new package repository:
-
Add the target version of the Tanzu Application Platform package repository by running:
tanzu package repository update tanzu-tap-repository \ --url registry.tanzu.vmware.com/tanzu-application-platform/tap-packages:VERSION \ --namespace tap-install
Where
VERSIONis the target revision of Tanzu Application Platform you are migrating to. -
Verify you have added the new package repository by running:
tanzu package repository get tanzu-tap-repository --namespace tap-install
Important: Before performing the upgrade, ensure
descriptor_nameis either unset or set tofull, orlitein thetap-values.yaml.
For Tanzu Application Platform that is installed by profile, you can perform the upgrade by running:
Note: Ensure you run the following command in the directory where the
tap-values.yamlfile resides.
tanzu package installed update tap -p tap.tanzu.vmware.com -v VERSION --values-file tap-values.yaml -n tap-installWhere VERSION is the target revision of Tanzu Application Platform you are migrating to.
For information about upgrading Tanzu Application Platform GUI, see upgrading Tanzu Application Platform GUI.
Verify the versions of packages after the upgrade by running:
tanzu package installed list --namespace tap-install