Skip to content

Commit

Permalink
Merge pull request #82 from vshn/sla
Browse files Browse the repository at this point in the history
Add postgres sla docs
  • Loading branch information
zugao authored Aug 15, 2023
2 parents 99dd6a4 + 89f28f9 commit 9d77f2a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
** xref:vshn-managed/postgresql/restore.adoc[Restore]
** xref:vshn-managed/postgresql/maintenance.adoc[]
** xref:vshn-managed/postgresql/plans.adoc[]
** xref:vshn-managed/postgresql/sla.adoc[]
** xref:vshn-managed/postgresql/deletion-protection.adoc[]
** xref:vshn-managed/postgresql/encrypted-pvc.adoc[]
** xref:vshn-managed/postgresql/alerting.adoc[]
Expand Down
32 changes: 32 additions & 0 deletions docs/modules/ROOT/pages/vshn-managed/postgresql/sla.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
= Service Level Agreement

[IMPORTANT]
====
The Service Level Agreement can be chosen during a PostgreSQL instance request.
It can be changed later on. The price together with the provided service will be updated accordingly. The change takes effect on the 1st of the next month.
For more information regarding price check https://products.vshn.ch/appcat/postgresql.html#_pricing[products.vshn.ch]
====

== Configuration

The Service Level is enabled by default as `besteffort`. To upgrade the service to `guaranteed` use the following configuration:

.Example of a PostgreSQL instance with `besteffort` service level. Update the namespace!
[source,yaml]
----
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNPostgreSQL
metadata:
name: pgsql-app1-guaranteed
namespace: <your-namespace>
spec:
parameters:
service:
serviceLevel: guaranteed <1>
majorVersion: "15"
pgSettings:
timezone: Europe/Zurich
writeConnectionSecretToRef:
name: postgres-creds
----
<1> Choose between `besteffort` or `guaranteed` service level.

0 comments on commit 9d77f2a

Please sign in to comment.