AlloyDB Omni database: the database that you use with the AlloyDB Omni operator. Use the
databaseVersionfield in theDBClustermanifest to specify the database version. The recommended AlloyDB Omni database version for PostgreSQL 16 is 16.11.0.Control plane agents: the agents that manage each database cluster. Every control plane agent in a database cluster uses the same version. Use the
controlPlaneAgentsVersionfield in theDBClustermanifest to specify the version of the control plane agents. The recommended control plane agent version is 1.7.1.
To upgrade the AlloyDB Omni operator, see
Upgrade the AlloyDB Omni operator.
The upgrade process includes specifying the database and control plane agent
versions in your DBCluster manifest.
Version upgrade lifecycle
Upgrading AlloyDB Omni on Kubernetes is a two-phase process that decouples the AlloyDB Omni operator upgrade from database cluster upgrades:
- Upgrade the AlloyDB Omni operator first. Existing
DBClusterresources and their control plane agents continue running their current versions without data plane disruption. For restart exceptions, see Before you begin in the operator upgrade guide. - Upgrade each database cluster during a maintenance window. Update both
the
databaseVersionandcontrolPlaneAgentsVersionfields in theDBClustermanifest to bring the cluster to the target steady state.
The following table shows an example upgrade from operator version 1.6.3 to 1.7.1:
| Upgrade step | AlloyDB Omni operator version | Database version (databaseVersion) |
Control plane agent version (controlPlaneAgentsVersion)
|
Behavior |
|---|---|---|---|---|
| Step 1: Initial steady state | 1.6.3 | 15.13.0 | 1.6.3 | The operator, database, and control plane agents run matching versions from the 1.6.x release family. |
| Step 2: Upgrade the operator only (coexistence before database upgrade) | 1.7.1 | 15.13.0 (unchanged) | 1.6.3 (unchanged) | Upgrading the operator doesn't disrupt the data plane, where control plane agents also run. Version 1.7.1 of the AlloyDB Omni operator manages the existing 15.13.0 database and 1.6.3 control plane agents until you upgrade the database cluster. |
| Step 3: Upgrade the database and control plane agents (target steady state) | 1.7.1 | 15.15.0 | 1.7.1 | When you update the databaseVersion field in the
DBCluster manifest, you also update the
controlPlaneAgentsVersion field to match the operator
version. |
AlloyDB Omni operator version compatibility table
The following table lists the supported AlloyDB Omni operator versions and their compatible and recommended database cluster versions:
| AlloyDB Omni operator version | Database cluster components | ||
|---|---|---|---|
| Cluster state | Database versions (databaseVersion) |
Control plane agent versions (controlPlaneAgentsVersion)
|
|
| 1.7.1 (recommended) | New or upgraded clusters (steady state: steps 1 and 3) | 18.1.0, 17.7.0, 16.11.0, 15.15.0 | 1.7.0, 1.7.1 (recommended) |
| Existing 1.6.0 to 1.6.3 clusters before database upgrade (step 2) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1, 1.6.2, 1.6.3 | |
| 1.7.0 | New or upgraded clusters (steady state: steps 1 and 3) | 18.1.0, 17.7.0, 16.11.0, 15.15.0 | 1.7.0 |
| Existing 1.6.0 to 1.6.3 clusters before database upgrade (step 2) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1, 1.6.2, 1.6.3 | |
| 1.6.4 | New or upgraded 15.18.1 clusters (steady state: steps 1 and 3) | 15.18.1 | 1.6.4 |
| New or upgraded 17.5.0, 16.9.0, or 15.13.0 clusters (steady state: steps 1 and 3) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4 | |
| Existing 1.5.x clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 | |
| Existing 1.4.x clusters before database upgrade (step 2) | 15.7.1 | 1.4.0, 1.4.1 | |
| 1.6.3 | New or upgraded clusters (steady state: steps 1 and 3) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1, 1.6.2, 1.6.3 |
| Existing 1.5.x clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 | |
| Existing 1.4.x clusters before database upgrade (step 2) | 15.7.1 | 1.4.0, 1.4.1 | |
| 1.6.2 | New or upgraded clusters (steady state: steps 1 and 3) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1, 1.6.2 |
| Existing 1.5.x clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 | |
| Existing 1.4.x clusters before database upgrade (step 2) | 15.7.1 | 1.4.0, 1.4.1 | |
| 1.6.1 | New or upgraded clusters (steady state: steps 1 and 3) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0, 1.6.1 |
| Existing 1.5.x clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 | |
| Existing 1.4.x clusters before database upgrade (step 2) | 15.7.1 | 1.4.0, 1.4.1 | |
| 1.6.0 | New or upgraded clusters (steady state: steps 1 and 3) | 17.5.0, 16.9.0, 15.13.0 | 1.6.0 |
| Existing 1.5.x clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 | |
| Existing 1.4.x clusters before database upgrade (step 2) | 15.7.1 | 1.4.0, 1.4.1 | |
| 1.5.0 | New or upgraded clusters (steady state: steps 1 and 3) | 16.8.0, 15.12.0 | 1.5.0 |
| Existing 1.4.x clusters before database upgrade (step 2) | 16.3.0, 15.7.1 | 1.4.0, 1.4.1 | |
| 1.4.1 | New or upgraded clusters (steady state: steps 1 and 3) | 16.3.0, 15.7.1 | 1.4.0, 1.4.1 |
| 1.4.0 | New or upgraded clusters (steady state: steps 1 and 3) | 16.3.0, 15.7.1 | 1.4.0 |