Apinizer Online Version Upgrade
This guide explains step by step how to upgrade Apinizer images running on Kubernetes.
The example scenario was realized on servers with Ubuntu 22.04 operating system.
1) MongoDB Backup
First, a backup operation is performed on MongoDB. The backup is always done as the first step of the update process to avoid data loss. This command is executed on the mongoDb primary server.
2) Updating the Apinizer Manager App
Apinizer Manager must be updated before updating Apinizer Worker and Cache. The reason for this is that Worker and Cache receive database related updates after Manager's settings to the database. If Worker and Cache are updated before Manager, this can cause problems on Worker and Cache side. Therefore, after updating Manager, make sure that the Manager pods on Kubernetes are in the “ready” state and then update the other components.
This and subsequent steps are run on servers with the Kubernetes Control Plane task.
3) Updating Apinizer Worker and Cache Applications
After making sure that the image of the Apinizer Manager application is updated, the Apinizer Worker and Cache applications are updated.
4) Updating Apinizer Portal and Integration Applications
Apinizer Portal and Integration can be updated in a similar way.