Skip to content

Commit

Permalink
Adds important postgresql note (#1131)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Smith <stevsmit@stevsmit-thinkpadt14gen4.remote.csb>
  • Loading branch information
stevsmit and Steven Smith authored Oct 18, 2024
1 parent 6e054b7 commit 2e3e1e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/operator-unmanaged-postgres.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

If you are using an externally managed PostgreSQL database, you must manually enable the `pg_trgm` extension for a successful deployment.

[IMPORTANT]
====
You must not use the same externally managed PostgreSQL database for both {productname} and Clair deployments. Your PostgreSQL database must also not be shared with other workloads, as it might exhaust the natural connection limit on the PostgreSQL side when connection-intensive workloads, like {productname} or Clair, contend for resources. Additionally, pgBouncer is not supported with {productname} or Clair, so it is not an option to resolve this issue.
====

Use the following procedure to deploy an existing PostgreSQL database.

.Procedure
Expand Down
5 changes: 5 additions & 0 deletions modules/unmanaging-clair-database.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

Use the following procedure to set your Clair database to unmanaged.

[IMPORTANT]
====
You must not use the same externally managed PostgreSQL database for both {productname} and Clair deployments. Your PostgreSQL database must also not be shared with other workloads, as it might exhaust the natural connection limit on the PostgreSQL side when connection-intensive workloads, like {productname} or Clair, contend for resources. Additionally, pgBouncer is not supported with {productname} or Clair, so it is not an option to resolve this issue.
====

.Procedure

* In the Quay Operator, set the `clairpostgres` component of the `QuayRegistry` custom resource to `managed: false`:
Expand Down

0 comments on commit 2e3e1e9

Please sign in to comment.