Delete Postgres ΒΆ

Deleting a Postgres irreversibly removes the whole instance with all its branches and data.

Remove uses.postgres from all workloads that reference the database and deploy them. If the Postgres manifest is managed in Git, delete the manifest file so the next apply does not recreate the database.

Delete the Postgres:

bash

The CLI asks for confirmation before deleting.

  1. Open your team in Nais Console and select Postgres.
  2. Select the database in the correct environment.
  3. Open Actions β†’ Delete.
  4. Type <ENVIRONMENT>/<POSTGRES-NAME> to confirm, then select Delete Postgres.

Deletion continues asynchronously. The database can remain visible until cleanup completes.