Skip to content

Commit

Permalink
Add Pgpool quickstart
Browse files Browse the repository at this point in the history
Signed-off-by: MobarakHsn <[email protected]>
  • Loading branch information
MobarakHsn committed May 2, 2024
1 parent c7f117f commit ae25f55
Show file tree
Hide file tree
Showing 6 changed files with 541 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/examples/pgpool/quickstart/quick-pgpool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: kubedb.com/v1alpha2
kind: Pgpool
metadata:
name: quick-pgpool
namespace: pool
spec:
version: "4.5.0"
replicas: 1
postgresRef:
name: quick-postgres
namespace: demo
sslMode: disable
clientAuthMode: md5
syncUsers: true
terminationPolicy: WipeOut
19 changes: 19 additions & 0 deletions docs/examples/pgpool/quickstart/quick-postgres.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kubedb.com/v1alpha2
kind: Postgres
metadata:
name: quick-postgres
namespace: demo
spec:
replicas: 1
version: "13.13"
configSecret:
name: pg-configuration
storageType: Durable
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Mi
terminationPolicy: WipeOut
1 change: 1 addition & 0 deletions docs/examples/pgpool/quickstart/user.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_connections=400
10 changes: 10 additions & 0 deletions docs/guides/pgpool/quickstart/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Pgpool Quickstart
menu:
docs_{{ .version }}:
identifier: pp-quickstart-pgpool
name: Quickstart
parent: pp-pgpool-guides
weight: 15
menu_name: docs_{{ .version }}
---
Loading

0 comments on commit ae25f55

Please sign in to comment.