Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.52 KB

postgresql.md

File metadata and controls

21 lines (18 loc) · 1.52 KB

Cloud Resource Operator - PostgreSQL

Usage

To seed a Kubernetes/Openshift cluster with an example Postgres resource:

$ make cluster/prepare 
$ make cluster/seed/postgres

AWS Strategy

A JSON object containing three keys: region, which is the AWS region code, a createStrategy, which is a JSON representation of this struct, and a deleteStrategy, which is a JSON representation of this struct.

We currently rely on AWS to autoscale the AllocatedStorage, for this reason CRO does not support modifications to AllocatedStorage via the createStrategy. If more storage is required, updated MaxAllocatedStorage in the createStrategy.

Kubernetes/Openshift Strategy

For Kubernetes/Openshift the JSON object contains a single key, strategy. The strategy object can contain the following keys, which are used to overwrite specific object configuration: - PostgresDeploymentSpec