Configuration Samples
In this section, you can find some examples of configuration files to set up your PostgreSQL Cluster
.
cluster-example.yaml
: a basic example ofCluster
that uses the default storage class. For demonstration and experimentation purposes on a personal Kubernetes cluster with Minikube or Kind as described in the "Quickstart".cluster-example-custom.yaml
: a basic example ofCluster
that uses the default storage class and custom parameters forpostgresql.conf
andpg_hba.conf
filescluster-storage-class.yaml
: a basic example ofCluster
that uses a specified storage class.cluster-pvc-template.yaml
: a basic example ofCluster
that uses a persistent volume claim template.cluster-example-full.yaml
: an example ofCluster
that sets most of the available options.cluster-example-replica-streaming.yaml
: a replica cluster followingcluster-example
, usable in a different namespace.cluster-example-replica-from-backup.yaml
: a replica cluster following a cluster with backup configured. Usable in a different namespace.
For a list of available options, please refer to the "API Reference" page.