Skip to content

Commit

Permalink
added pgpool config
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 committed Dec 25, 2023
1 parent 3491ba4 commit d0b6f87
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/beforeInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,24 @@ if ('${settings.deploymentType}' != 'development') {
is_pgpool2: true,
}
})
resp.nodes.push({
displayName: "PG Pool",
applyQuotas: true,
clusterExtraItem: 0,
clusterGroup: "sqldb",
count: 1,
isSLBAccessEnabled: false,
nodeGroup: "pgpool",
nodeType: "pgpool2",
restartDelay: 30,
scalingMode: "STATEFUL",
skipNodeEmails: true,
validation: {
maxCount: 3,
minCount: 1,
scalingMode: "STATEFUL"
}
})
} else {
resp.nodes.push({
nodeType: "postgresql",
Expand Down

0 comments on commit d0b6f87

Please sign in to comment.