Upgrade DPA on the Kubernetes Cloud Platform
Complete the following tasks to upgrade DPA in a container on the Kubernetes Cloud Platform:
- Upload the new image to the AWS Elastic Container Registry
- Back up the DPA repository database and configuration folders
- Edit the dpa_pod_aws.yaml file
- Delete the existing DPA workload pod
- Create the new DPA deployment in the AWS Elastic Kubernetes Service
Upload the new image to the AWS Elastic Container Registry
Download the tar.gz file that contains the later version from the SolarWinds Customer Portal, and then upload it to the AWS Elastic Container Registry. For instructions, see Create a stand-alone machine and push the DPA Docker container image to the AWS Elastic Container Registry.
The file name of the image reflects the DPA version number.
Back up the DPA repository database and configuration folders
Back up the existing repository and the configuration, log, and licensing files on the persistent volume claim (PVC). In case the upgrade is unsuccessful, the backup copies can be used to revert to the older version of DPA.
When the new DPA container starts, it detects that the existing files and repository correspond to an earlier version. It immediately updates the files to correspond to the new version.
-
Back up the DPA repository database.
-
Copy the following folders from the PVC and save the copies in a different location to back up logs, configurations, and licensing:
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 new version number.
Delete the existing DPA workload pod
-
From the AWS Console, open the Amazon Elastic Kubernetes Service page and click Clusters.
-
Click the name of the DPA cluster.
-
Click the Resources tab.
-
Delete the existing DPA pod.
Create the new DPA deployment in the AWS Elastic Kubernetes Service
Run the following command to create the DPA pod:
kubectl apply -f dpa_pod_aws.yaml