Restore the DPA container to an earlier version on the Kubernetes Cloud Platform
If you need to restore the DPA container to an earlier version on the Kubernetes Cloud Platform (for example, because the upgrade process failed), perform the following tasks:
- Delete the failed DPA workload of the newer version in the AWS Elastic Kubernetes Service
- Restore the backup copies of the repository and DPA files from the earlier version
- Edit the dpa_pod_aws.yaml file
- Deploy the earlier version on the AWS Elastic Kubernetes Service
Delete the failed DPA workload of the newer version in the AWS Elastic Kubernetes Service
-
Open Cloudshell, the AWS cloud command prompt.
-
Run the following command:
kubectl delete deployment dpa
Restore the backup copies of the repository and DPA files from the earlier version
Restore the database and the configuration, licensing, and log files that you backed up before upgrading to the newer version.
-
Restore the DPA repository database from the backup.
-
Locate the backup copies of the following folders and copy them to the PVC:
ignite_configconflogslicensing
Edit the dpa_pod_aws.yaml file
Open the dpa_pod_aws.yaml file in a text editor, and update the version number in the image property to reflect the earlier version number.
Deploy the earlier version on the AWS Elastic Kubernetes Service
Run the following command to create the DPA pod:
kubectl apply -f dpa_pod_aws.yaml