Performing helm roll backs to DevOps Plan
You can roll back DevOps Plan to the previous release using the helm rollback command.
- Use Helm to install the DevOps Plan solution chart as described in Step 5 of Getting started with DevOps Plan Helm chart.
- Use Helm to upgrade the DevOps Plan chart to the new DevOps Plan release as described in Performing rolling upgrades to DevOps Plan Helm chart.
-
Note: When using DevOps Control, it is possible that a DevOps Control release includes an upgraded database schema. Performing a Helm rollback to an installation that includes a mismatch in database schema is not supported and the Helm rollback will fail. When using DevOps Control, it is recommended that you use backup and restore functionality with Velero. For more information, see Backup and Restore instructions for DevOps Plan. Performing Velero based rollback will lead to loss of newer data that is generated after upgrading.
Before upgrading to DevOps Plan version 3.0.8, it is recommended to use Velero to create a backup. If you downgrade to a previous release, you must restore the cluster state from a backup that was taken before the upgrade happened.
The recommended downgrade workflow is:
- Use Velero to create a backup of the DevOps Plan environment before performing an upgrade.
- Upgrade to DevOps Plan version 3.0.8.
- If you need to revert to a previous release, roll back the application version and restore the cluster resources and persistent volumes from the Velero backup that you created in step 1.