Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.63 KB

postgresql.md

File metadata and controls

37 lines (29 loc) · 1.63 KB

Cloud Resource Operator - PostgreSQL

Usage

OpenShift

$ make cluster/prepare 
$ make cluster/seed/postgres PROVIDER=openshift

AWS

$ make cluster/prepare 
$ make cluster/seed/postgres PROVIDER=aws

GCP

$ make cluster/prepare 
$ make cluster/seed/postgres PROVIDER=gcp

Strategy

AWS

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.

Openshift

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