Choose compatible Kubernetes operator and database cluster versions

Select a documentation version:

Each version of the AlloyDB Omni Kubernetes operator is compatible with specific database clusters. A database cluster consists of two components:

  • AlloyDB Omni database: the database that you use with the AlloyDB Omni operator. Use the databaseVersion field in the DBCluster manifest to specify the database version. The recommended AlloyDB Omni database version for PostgreSQL 18 is 18.3.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 controlPlaneAgentsVersion field in the DBCluster manifest to specify the version of the control plane agents. The recommended control plane agent version is 1.8.2.

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:

  1. Upgrade the AlloyDB Omni operator first. Existing DBCluster resources 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.
  2. Upgrade each database cluster during a maintenance window. Update both the databaseVersion and controlPlaneAgentsVersion fields in the DBCluster manifest to bring the cluster to the target steady state.

The following table shows an example upgrade from operator version 1.6.3 to 1.8.2:

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.8.2 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.8.2 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.8.2 15.17.0 1.8.2 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.8.2 (recommended) New or upgraded clusters (steady state: steps 1 and 3) 18.3.0, 17.9.0, 16.13.0, 15.17.0 1.8.0, 1.8.1, 1.8.2 (recommended)
Existing 1.7.x clusters before database upgrade (step 2) 18.1.0, 17.7.0, 16.11.0, 15.15.0 1.7.0, 1.7.1
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.8.1 New or upgraded clusters (steady state: steps 1 and 3) 18.3.0, 17.9.0, 16.13.0, 15.17.0 1.8.0, 1.8.1
Existing 1.7.x clusters before database upgrade (step 2) 18.1.0, 17.7.0, 16.11.0, 15.15.0 1.7.0, 1.7.1
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.8.0 New or upgraded clusters (steady state: steps 1 and 3) 18.3.0, 17.9.0, 16.13.0, 15.17.0 1.8.0
Existing 1.7.x clusters before database upgrade (step 2) 18.1.0, 17.7.0, 16.11.0, 15.15.0 1.7.0, 1.7.1
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.1 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
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
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
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
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
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