-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hiranmoy Das Chowdhury <[email protected]>
- Loading branch information
1 parent
a6191cb
commit 33ccabc
Showing
6 changed files
with
148 additions
and
153 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
docs/examples/pgbouncer/scaling/horizontal-scaling-down-ops.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: PgBouncerOpsRequest | ||
metadata: | ||
name: pgbouncer-horizontal-scale-down | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: pb-horizontal | ||
horizontalScaling: | ||
replicas: 2 |
11 changes: 11 additions & 0 deletions
11
docs/examples/pgbouncer/scaling/horizontal-scaling-ops.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: PgBouncerOpsRequest | ||
metadata: | ||
name: pgbouncer-horizontal-scale-up | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: pb-horizontal | ||
horizontalScaling: | ||
replicas: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: PgBouncer | ||
metadata: | ||
name: pb-horizontal | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.18.0" | ||
database: | ||
syncUsers: true | ||
databaseName: "postgres" | ||
databaseRef: | ||
name: "ha-postgres" | ||
namespace: demo | ||
connectionPool: | ||
poolMode: session | ||
port: 5432 | ||
reservePoolSize: 5 | ||
maxClientConnections: 87 | ||
defaultPoolSize: 2 | ||
minPoolSize: 1 | ||
authType: md5 | ||
deletionPolicy: WipeOut |
Oops, something went wrong.