Set min number of instances to 2
This commit is contained in:
parent
f839806616
commit
7a9d898af7
|
|
@ -281,7 +281,7 @@ configConnectionPool:
|
||||||
# default pooling mode
|
# default pooling mode
|
||||||
connection_pool_mode: "transaction"
|
connection_pool_mode: "transaction"
|
||||||
# number of pooler instances
|
# number of pooler instances
|
||||||
connection_pool_number_of_instances: 1
|
connection_pool_number_of_instances: 2
|
||||||
# default resources
|
# default resources
|
||||||
connection_pool_default_cpu_request: "1"
|
connection_pool_default_cpu_request: "1"
|
||||||
connection_pool_default_memory_request: "100Mi"
|
connection_pool_default_memory_request: "100Mi"
|
||||||
|
|
|
||||||
|
|
@ -129,6 +129,6 @@ configuration:
|
||||||
connection_pool_image: "registry.opensource.zalan.do/acid/pgbouncer:master-5"
|
connection_pool_image: "registry.opensource.zalan.do/acid/pgbouncer:master-5"
|
||||||
# connection_pool_max_db_connections: 60
|
# connection_pool_max_db_connections: 60
|
||||||
connection_pool_mode: "transaction"
|
connection_pool_mode: "transaction"
|
||||||
connection_pool_number_of_instances: 1
|
connection_pool_number_of_instances: 2
|
||||||
# connection_pool_schema: "pooler"
|
# connection_pool_schema: "pooler"
|
||||||
# connection_pool_user: "pooler"
|
# connection_pool_user: "pooler"
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ type LogicalBackup struct {
|
||||||
|
|
||||||
// Operator options for connection pooler
|
// Operator options for connection pooler
|
||||||
type ConnectionPool struct {
|
type ConnectionPool struct {
|
||||||
NumberOfInstances *int32 `name:"connection_pool_number_of_instances" default:"1"`
|
NumberOfInstances *int32 `name:"connection_pool_number_of_instances" default:"2"`
|
||||||
Schema string `name:"connection_pool_schema" default:"pooler"`
|
Schema string `name:"connection_pool_schema" default:"pooler"`
|
||||||
User string `name:"connection_pool_user" default:"pooler"`
|
User string `name:"connection_pool_user" default:"pooler"`
|
||||||
Image string `name:"connection_pool_image" default:"registry.opensource.zalan.do/acid/pgbouncer:master-5"`
|
Image string `name:"connection_pool_image" default:"registry.opensource.zalan.do/acid/pgbouncer:master-5"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue