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
k8sClusterName
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-07 UTC."],[[["This documentation pertains to version 1.1 of Apigee hybrid, which is no longer supported and should be upgraded."],["Apigee hybrid utilizes Kubernetes rolling updates, ensuring zero downtime during Deployment updates."],["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.*`, `gcpProjectID`, `k8sClusterName`, `contractProvider`, or `org` also necessitates a rolling update, signaled by changing the `revision` value."],["Applying the `-c` flag to the `apigeectl apply` command can be used to update only the specified component's pods."]]],[]]