Update Methods
Apinizer version upgrade operations can be performed using two different methods depending on whether Kubernetes worker servers have internet access:Online Update
- If Kubernetes worker servers can access the internet
- If you want to perform a quick and easy update
- If you don’t want to take extra steps for image transfer
Offline Update
.tar files, or uploaded to a local registry.When to Use:- If Kubernetes worker servers cannot access the internet
- If direct internet access is restricted due to security policies
- If a local Docker registry (Nexus, Harbor, etc.) is used
- Manual Image Transfer
- Local Registry Usage
1) Taking MongoDB Backup
MongoDB backup is taken before the update operation to prevent data loss. This command is run on the MongoDB server.2) Updating Apinizer Applications
The system basically consists of apimanager (manager in versions 2025.11.0 and earlier), worker, and cache applications. Depending on the license scope, integration and apiportal (portal in versions 2025.04.5 and earlier) applications may also be present. Current version information can be accessed from Docker Hub or from the release notes page.Update Strategy and Downtime Risk
The risk of traffic interruption during update may vary depending on factors such as pod count, update strategy, and adequacy of server resources.Replica/Pod Count
Update Strategy
Server Resources
2.1) Online Update of Apinizer
2.1.1) Apinizer Api Manager Update
Commands in this and subsequent steps are run on servers with Kubernetes Control Plane task.Check deployment information
Update Api Manager deployment image
Monitor pod status
2.1.2) Apinizer Worker and Cache Update
After ensuring that the Apinizer Api Manager image is updated, Apinizer Worker and Cache applications are updated.Update Worker and Cache deployment images
Monitor pod status
2.1.3) Apinizer Portal and Integration Update
Apinizer Portal and Integration can be updated similarly.Update Portal and Integration deployment images
Monitor pod statuses
2.2) Offline Update of Apinizer
For offline systems that require updates in Kubernetes environments, two main methods can be used:Manual Image Transfer
Local Registry Usage
2.2.1) Pulling Images from Online Server and Transferring to Offline Servers
If there is a machine with internet access and access to offline machines, the following steps can be performed.2.2.1.1) Docker Usage
2.2.1.2) Containerd Usage
2.2.2) Using Local Image Registry or Repository
Although different image registries and repositories work with different methods, in most of them, pulled images must be tagged and sent to the application.2.2.2.1) Docker Usage
2.2.2.2) Containerd Usage
2.2.3) Apinizer Api Manager Update
Commands in this and subsequent steps are run on servers with Kubernetes Control Plane task.Check deployment information
Update Api Manager deployment image
Monitor pod status
2.2.4) Apinizer Worker and Cache Update
After ensuring that the Apinizer Api Manager image is updated, Apinizer Worker and Cache applications are updated.Update Worker and Cache deployment images
Monitor pod status
2.2.5) Apinizer Portal and Integration Update
Apinizer Portal and Integration can be updated similarly.Update Portal and Integration deployment images
Monitor pod statuses
3) Rolling Back Apinizer Application Updates
Version downgrade is not supported in Apinizer applications. However, if there are database backups, an updated version can be rolled back.3.1) MongoDB Database Restore
Before this operation, it should be confirmed that the Api Manager application is not in a restart loop with CrashLoopBackOff error on Kubernetes. For the safest method, the Api Manager application should be stopped by reducing the replica count to 0.Stop Api Manager
Restore MongoDB backup
--drop parameter can be used to prevent possible conflicts during return. This will only drop collections that have a counterpart in the backup file and then perform the load.3.2) Rolling Back Api Manager Application Version
Roll back Api Manager deployment image to old version
Increase replica count to 1
Monitor pod status
3.3) Rolling Back Other Applications’ Versions
When the Api Manager application is running, other applications can be rolled back to the old version together.Roll back deployment images to old version
Check pod statuses

