After you create your database, you can modify most configuration properties to ensure your database remains right-sized as your workload’s demands change. This page covers each lifecycle action through both the Cloud Console and kubectl.
For configurable fields and their constraints, see Configure database. For backup-driven database replacement (the only way to change immutable fields like name or initial database name), see Manage backups.
Each row in the Databases list has a three-dot menu with the following actions:
- View details opens the database details panel on the Details tab.
- Resize / scale opens the Edit database form. See Edit a database.
- Manage backups opens the database details panel on the Backups tab. See Manage backups.
- Delete opens a confirmation dialog. See Delete a database.
Edit a database
You can edit a database after creation. The database name, namespace, initial database name, database engine, and compute cluster can’t change.
Replica scale-out (increasing or decreasing spec.postgres.instances) is supported in limited availability. In-place vertical scaling (changing per-instance CPU or memory) hasn’t been verified yet. To change per-instance compute, restore the database into a new one with the desired sizing. See Manage backups.
Edit from the Cloud Console
To edit a database from the Cloud Console, follow these steps:
- In the Cloud Console, open Infrastructure > Data and storage and select the Databases tab.
- Click the database row to open the details view, then click Edit configuration. The row’s three-dot menu Resize / scale action opens the same form.
- The Edit database form opens with a YAML preview pane on the right. Immutable fields are shown but disabled.
- Update the form fields, or edit the YAML pane directly. Changes in either pane sync to the other.
- Click Submit to apply.
The database is updated with the new configuration.
Edit with kubectl
Open the resource in your default editor:
Alternatively, apply an updated manifest:
The operator rejects changes to immutable fields.
Resize a database
You can increase per-instance storage size after creation. See Storage and Compute.
Resize uses the Edit form internally. For changes to fields other than storage size, see Edit a database.
Resize from the Cloud Console
To resize a database from the Cloud Console, follow these steps:
- In the Databases list, open the database row’s three-dot menu and select Resize / scale. The Edit database form opens.
- In the Resources section, increase Storage size (GiB).
- Click Submit.
The new storage size is applied to each instance’s Distributed File Storage (DFS) volume.
Resize with kubectl
Increase spec.storage.resources.requests.storage on the database:
The new size is applied to each instance’s DFS volume.
Delete a database
When you delete a database, the operator removes the database Pods, the pooler Services, the per-instance DFS volumes, and the credentials Secrets. Deletion is irreversible.
Restores always create a new database. If you may need the data later, take an on-demand backup before deleting. See Manage backups.
Delete from the Cloud Console
The Cloud Console provides two ways to delete a database:
- In the Databases list, open the database row’s three-dot menu and select Delete.
- In the database’s details view, scroll to Danger zone and click Delete database.
Both open a confirmation dialog before deletion.
Delete with kubectl
To delete the database, remove the cwdbcluster resource:
The operator removes the database Pods, the pooler Services, the per-instance DFS volumes, and the credentials Secrets. Last modified on July 21, 2026