Manage Postgres ΒΆ

Change CPU, memory, disk size or high availability. PostgreSQL 18 is the only supported major version in preview; the CLI update command does not change the major version.

For a Postgres managed in Git, update the manifest. A later nais apply can overwrite changes made through the CLI or Console.

Edit the Postgres manifest in your repository:

.nais/postgres.yaml

Push the change. The next workflow run applies the new desired state. See Deploy manifest changes without rebuilding for a complete pipeline example.

Update one or more settings:

bash

The update command accepts --high-availability true|false, --cpu, --memory and --disk-size. Omitted settings stay unchanged.

  1. Open your team in Nais Console and select Postgres.
  2. Select the database.
  3. Open Actions β†’ Edit.
  4. Update the form and select Save changes.

Changes are applied asynchronously. Follow the status on the database's page in Nais Console.

🎯 Connect an Application or Job