Upgrade catalog applications using the CLI and UI
Upgrade Catalog Applications
Before upgrading, keep in mind the distinction between Platform applications and Catalog applications. Platform applications are deployed and upgraded as a set for each cluster or workspace. Catalog applications are deployed separately, so that you can deploy and upgrade them individually for each workspace or project.
Upgrade with UI
Follow these steps to upgrade an application from the DKP UI:
From the top menu bar, select your target workspace.
Select Applications from the sidebar menu.
Select the three dot button from the bottom-right corner of the desired application tile, and then select Edit.
Select the Version drop-down, and select a new version. This drop-down will only be available if there is a newer version to upgrade to.
Upgrade with CLI
Please note that the below commands are using the workspace name and not namespace.
You can retrieve the workspace name by running the command:
dkp get workspaces
To view a list of the deployed
apps to your workspace, you can run the command:
dkp get appdeployments --workspace=<workspace-name>
To see what app(s) and app versions are available to upgrade, run the following command:
APP IDcolumn displays the available apps and the versions available to upgrade.CODE
kubectl get apps -n <workspace-namespace>
Run the following command to upgrade an application from the DKP CLI:CODE
dkp upgrade catalogapp <appdeployment-name> --workspace=<my-workspace-name> --to-version=<version.number>
As an example, the following command upgrades the Kafka Operator application, named
kafka-operator-abc, in a workspace to version
dkp upgrade catalogapp kafka-operator-abc --workspace=my-workspace --to-version=0.25.1
Platform applications cannot be upgraded on a one-off basis, and must be upgraded in a single process for each workspace. If you attempt to upgrade a platform application with these commands, you receive an error and the application is not upgraded.