4

How to Upgrade a Pyramid Kubernetes Cluster

Before upgrading your production install of Pyramid, it is imperative that you upgrade a test install of Pyramid based on a copy of your production database.
This step is crucial to guarantee that all content operates correctly before upgrading.
Upgrading without testing in a separate environment is strongly discouraged and not supported by our team.

Before upgrading the cluster, take a full backup of the Pyramid repository.

Please navigate on the customer's portal to the Pyramid Kubernetes Cluster configurator page.

 

Select a version and configure the number of pods for each Pyramid service.
Ensure that you maintain the previous Port and Persistent storage settings during the upgrade.

After proceeding to the next page, you can skip steps 1 and 2 as there is no need to repeat them. However, make sure to obtain the YAML file in step 3.

Before deploying the YAML, ensure the cluster hosts have enough resources (CPU and RAM).

To deploy the YAML file, just run the command below(step 4):

kubectl apply -f pyramid-analytics-config.yaml

Please note that the Kubernetes engine will initiate all the new pods before terminating the old ones.
This process may consume more resources until Kubernetes has terminated the old pods. However, it minimizes the amount of downtime taken during the upgrade process.


If you choose to use Helm instead of YAML, you can perform an upgrade by executing the following command.
However, Please make sure to update the version number to the latest or the one that you want to install. This version must be newer than the one currently installed. You can find the version number in the drop-down list on the Pyramid Kubernetes Cluster configurator page.

helm install pyramid pyramid/pyramidanalytics --version 2023.00.361

Reply

null