Select a documentation version: <button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">15.15.0</button>

- [Current (18.4.0)](https://docs.cloud.google.com/alloydb/omni/kubernetes/current/docs/choose-compatible-versions.md.txt)
- [18.4.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.4.0/docs/choose-compatible-versions.md.txt)
- [18.3.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.3.0/docs/choose-compatible-versions.md.txt)
- [18.1.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.1.0/docs/choose-compatible-versions.md.txt)
- [17.10.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.10.0/docs/choose-compatible-versions.md.txt)
- [17.9.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.9.0/docs/choose-compatible-versions.md.txt)
- [17.7.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.7.0/docs/choose-compatible-versions.md.txt)
- [17.5.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.5.0/docs/choose-compatible-versions.md.txt)
- [16.14.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.14.0/docs/choose-compatible-versions.md.txt)
- [16.13.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.13.0/docs/choose-compatible-versions.md.txt)
- [16.11.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.11.0/docs/choose-compatible-versions.md.txt)
- [16.9.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.9.0/docs/choose-compatible-versions.md.txt)
- [16.8.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.8.0/docs/choose-compatible-versions.md.txt)
- [16.3.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.3.0/docs/choose-compatible-versions.md.txt)
- [15.18.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.18.0/docs/choose-compatible-versions.md.txt)
- [15.17.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.17.0/docs/choose-compatible-versions.md.txt)
- [15.15.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.15.0/docs/choose-compatible-versions.md.txt)
- [15.13.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.13.0/docs/choose-compatible-versions.md.txt)
- [15.12.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.12.0/docs/choose-compatible-versions.md.txt)
- [15.7.1](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.7.1/docs/choose-compatible-versions.md.txt)

<br />

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

<br />

- **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
  15 is 15.15.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.7.1.

To upgrade the AlloyDB Omni operator, see
[Upgrade the AlloyDB Omni operator](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.15.0/docs/upgrade-kubernetes-operator-version.md.txt).
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](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.15.0/docs/upgrade-kubernetes-operator-version.md.txt#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.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 |||
| AlloyDB Omni operator version | 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)** |
| **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 |
| 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 |
| 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.4 | Existing 1.5.*x* clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 |
| 1.6.4 | 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 |
| 1.6.3 | Existing 1.5.*x* clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 |
| 1.6.3 | 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 |
| 1.6.2 | Existing 1.5.*x* clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 |
| 1.6.2 | 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 |
| 1.6.1 | Existing 1.5.*x* clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 |
| 1.6.1 | 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 |
| 1.6.0 | Existing 1.5.*x* clusters before database upgrade (step 2) | 16.8.0, 15.12.0 | 1.5.0 |
| 1.6.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 |
| 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 |