Skip to content

Commit 718572c

Browse files
authored
Merge pull request #125 from vshn/pgbouncer
Add pg bouncer doc
2 parents 7c364a0 + 590b555 commit 718572c

File tree

1 file changed

+11
-8
lines changed
  • docs/modules/ROOT/pages/vshn-managed/postgresql

1 file changed

+11
-8
lines changed

docs/modules/ROOT/pages/vshn-managed/postgresql/create.adoc

+11-8
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,26 @@ spec:
1414
parameters:
1515
service:
1616
majorVersion: "15" # <3>
17+
pgBouncerSettings: # <4>
18+
admin_users: postgres
1719
pgSettings:
18-
timezone: Europe/Zurich # <4>
19-
size: # <5>
20+
timezone: Europe/Zurich # <5>
21+
size: # <6>
2022
plan: plus-4
21-
backup: # <6>
23+
backup: # <7>
2224
schedule: "30 23 * * *"
2325
retention: 12
2426
writeConnectionSecretToRef:
25-
name: postgres-creds # <7>
27+
name: postgres-creds # <8>
2628
----
2729
<1> Instance name
2830
<2> The namespace where the object will be created
2931
<3> PostgreSQL version
30-
<4> Specify custom PostgreSQL settings [optional]
31-
<5> Size of the PostgreSQL instance. See xref:vshn-managed/postgresql/plans.adoc[Plans and Sizing] for more information.
32-
<6> Backup configuration, `schedule` standard cron: https://en.wikipedia.org/wiki/Cron, `retention` field specify how many backups should be kept
33-
<7> Secret where the connection details are provisioned. This secret shouldn't exist before creation.
32+
<4> Specify additional configuration to the pgBouncer instance [optional]. See https://www.pgbouncer.org/config.html[documentation]
33+
<5> Specify custom PostgreSQL settings [optional]
34+
<6> Size of the PostgreSQL instance. See xref:vshn-managed/postgresql/plans.adoc[Plans and Sizing] for more information.
35+
<7> Backup configuration, `schedule` standard cron: https://en.wikipedia.org/wiki/Cron, `retention` field specify how many backups should be kept
36+
<8> Secret where the connection details are provisioned. This secret shouldn't exist before creation.
3437

3538
NOTE: To get more information about all available configuration options, please see the xref:references/crds.adoc#k8s-api-github-com-vshn-component-appcat-apis-vshn-v1-vshnpostgresql[API Reference]
3639

0 commit comments

Comments
 (0)