Feat: Add PgPool Support on Postgres#1261
Conversation
|
|
762ed5d to
b4e71c9
Compare
0562a1a to
df944a0
Compare
37f9cd4 to
077b5be
Compare
55e9e30 to
6ebf9bb
Compare
fb6b5da to
bd1b502
Compare
77c5ffe to
468f2e1
Compare
| apiVersion: catalog.kubedb.com/v1alpha1 | ||
| kind: PgpoolVersion |
There was a problem hiding this comment.
Why the version object is needed here ?
ace hr depends on kubedb hr already I guess.
There was a problem hiding this comment.
pgpool is not enabled by default. Yes. the version object is needed here.
But then the problem is, the pgpool will not be ready
There was a problem hiding this comment.
We'll be using feature gate to enable pgpool, will be updated.
| num_init_children: "10" | ||
| max_pool: "40" | ||
| client_idle_limit: "180" |
There was a problem hiding this comment.
How did we calculate these configs ?
There was a problem hiding this comment.
We tired with multiple connection limits. 400 worked, This num_init_children means parallel children process.
So max_pool can't be less than 15, so we keep that 15, and children 400/15 rest.
Updated the connection config.
num_init_children: "25"
max_pool: "15"
Signed-off-by: notTabassum <oyshee@appscode.com>
No description provided.