Apigee hybrid supports rolling
updates. In Kubernetes, rolling updates allow Deployment updates to take place with zero
downtime by incrementally updating Pod instances with new ones.
Components that support rolling updates
If you change property settings for any hybrid of the following components in your
overrides file, you can use
the revision property to signal that you want to perform a rolling update
to the affected pods.
runtime
mart
udca
metrics
synchronizer
You can also use revision when you change any
of the following properties:
nodeSelector.*
envs.*
imagePullSecrets.*
gcpProjectID (Deprecated)
k8sClusterName (Deprecated)
gcp.*
k8sCluster.*
contractProvider
org
How to perform a rolling update
For example, suppose you want to change the current runtime memory from 1Gi to
5Gi:
In the current configuration, revision is set to blue:
In the new configuration, revision is changed to green, signaling
that you want to perform a rolling update when
the change is applied. The value you set revision to does not matter; you can
use any string you wish, as long as you change it from the previous value to something else.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-10 UTC."],[[["This documentation is for Apigee hybrid version 1.2, which is no longer supported and requires an upgrade to a newer version."],["Apigee hybrid utilizes Kubernetes rolling updates, enabling zero-downtime updates by incrementally replacing Pod instances."],["Rolling updates can be triggered for specific components like `runtime`, `mart`, `udca`, `metrics`, and `synchronizer` by modifying the `revision` property in the overrides file."],["Changing properties such as `nodeSelector.*`, `envs.*`, `imagePullSecrets.*`, `gcp.*`, `k8sCluster.*`, `contractProvider`, or `org` also allows the use of `revision` to perform rolling updates."],["To initiate a rolling update, change the `revision` property to any new string value, and then apply the changes, optionally targeting specific pods using the `-c` flag."]]],[]]