Skip to content

Commit 2e3e1e9

Browse files
stevsmitSteven Smith
andauthored
Adds important postgresql note (quay#1131)
Co-authored-by: Steven Smith <[email protected]>
1 parent 6e054b7 commit 2e3e1e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modules/operator-unmanaged-postgres.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

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

7+
[IMPORTANT]
8+
====
9+
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.
10+
====
11+
712
Use the following procedure to deploy an existing PostgreSQL database.
813

914
.Procedure

modules/unmanaging-clair-database.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

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

11+
[IMPORTANT]
12+
====
13+
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.
14+
====
15+
1116
.Procedure
1217

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

0 commit comments

Comments
 (0)