postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

example nfs yaml

Open chrisdrew1 opened this issue 7 years ago • 2 comments

** Which example are you working with? ** setting up nfs on the pgo operator

What is the current behavior? Documentation here https://crunchydata.github.io/postgres-operator/stable/installation/configuration/#_storage_configuration

What is the expected behavior? Examples of the yaml files don't seem to exist anywhere in the project like referenced.

Are those missing for a reason? Are there examples of NFS storage pv anywhere else in the project to reference?

There

are currently 3 sample pgo configuration files provided for users to use as a starting configuration -

pgo.yaml.nfs - this configuration specifies create storage to be used, this is used for NFS storage for example where you want to have a unique PVC created for each database

pgo.yaml.storageclass - this configuration specifies dynamic storage to be used, namely a storageclass that refers to a dynamic provisioning strorage such as StorageOS or Portworx, or

GCE.

chrisdrew1 avatar Jan 22 '19 01:01 chrisdrew1

this is an error in the documentation, those template examples are no longer used, instead the default pgo.yaml file conf/postgres-operator/pgo.yaml includes an example of specifying a storage config for each supported type (nfs, hostpath, storage class). This documentation error is soon to be updated with the 3.5 release which is going to go out this week.

jmccormick2001 avatar Jan 22 '19 02:01 jmccormick2001

Thank you.

chrisdrew1 avatar Jan 23 '19 23:01 chrisdrew1