lower CPU request and update docs

This commit is contained in:
Felix Kunde
2020-03-20 17:26:33 +01:00
parent b0f534776d
commit 21af41025a
11 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -385,8 +385,8 @@ present.
Which docker image to use for connection pool deployment.
* **maxDBConnections**
How many connections the pooler can max hold. This value is divided by the
number of pooler pods.
How many connections the pooler can max hold. This value is divided among the
pooler pods.
* **mode**
In which mode to run connection pool, transaction or session.
+4 -4
View File
@@ -619,9 +619,9 @@ operator being able to provide some reasonable defaults.
Default: "registry.opensource.zalan.do/acid/pgbouncer"
* **connection_pool_max_db_connections**
How many connections the pooler can max hold. This value is divided by the
number of pooler pods. Default is 60 which will make up 30 connections per
pod for the default setup with two instances.
How many connections the pooler can max hold. This value is divided among the
pooler pods. Default is 60 which will make up 30 connections per pod for the
default setup with two instances.
* **connection_pool_mode**
Default pool mode, `session` or `transaction`. Default is `transaction`.
@@ -631,4 +631,4 @@ operator being able to provide some reasonable defaults.
**connection_pool_default_cpu_limit**
**connection_pool_default_memory_limit**
Default resource configuration for connection pool deployment. The internal
default for memory limit and request is `100Mi`, for CPU it is `1`.
default for memory request and limit is `100Mi`, for CPU it is `500m` and `1`.
+5 -5
View File
@@ -535,7 +535,7 @@ To configure a new connection pool, specify:
spec:
connectionPool:
# how many instances of connection pool to create
number_of_instances: 1
number_of_instances: 2
# in which mode to run, session or transaction
mode: "transaction"
@@ -550,11 +550,11 @@ spec:
# resources for each instance
resources:
requests:
cpu: "100m"
memory: "100Mi"
cpu: 500m
memory: 100Mi
limits:
cpu: "100m"
memory: "100Mi"
cpu: "1"
memory: 100Mi
```
By default `pgbouncer` is used to create a connection pool. To find out about