Unverified Commit 46ffda34 authored by Jonathan S. Katz's avatar Jonathan S. Katz
Browse files

Various examples for working with PGO

parent 12ff4c85
Loading
Loading
Loading
Loading

README.md

0 → 100644
+13 −0
Original line number Diff line number Diff line
# [PGO](https://github.com/CrunchyData/postgres-operator), Crunchy [Postgres Operator](https://github.com/CrunchyData/postgres-operator) Examples

This repository contains examples for deploying PGO, the Postgres Operator from Crunchy Data, using a variety of examples.

The examples are grouped by various tools that can be used to deploy them.

The best way to get started is to fork this repository and experiment with the examples.

Each of the examples has its own README that guides you through the process of deploying it.

You can find out more information about [PGO](https://github.com/CrunchyData/postgres-operator), the [Postgres Operator](https://github.com/CrunchyData/postgres-operator) from [Crunchy Data](https://www.crunchydata.com) at the project page:

[https://github.com/CrunchyData/postgres-operator](https://github.com/CrunchyData/postgres-operator)
+1 −0
Original line number Diff line number Diff line
azure.conf
+3 −0
Original line number Diff line number Diff line
[global]
repo1-azure-account=<YOUR_AZURE_ACCOUNT>
repo1-azure-key=<YOUR_AZURE_KEY>
+12 −0
Original line number Diff line number Diff line
namespace: postgres-operator

secretGenerator:
- name: pgo-azure-creds
  files:
  - azure.conf

generatorOptions:
  disableNameSuffixHash: true

resources:
- postgres.yaml
+28 −0
Original line number Diff line number Diff line
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
  name: hippo-azure
spec:
  image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-ha:centos8-13.3-4.7.0
  postgresVersion: 13
  instances:
    - volumeClaimSpec:
        accessModes:
        - "ReadWriteOnce"
        resources:
          requests:
            storage: 1Gi
  archive:
    pgbackrest:
      image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-13.3-4.7.0
      repoHost:
        dedicated: {}
      configuration:
      - secret:
          name: pgo-azure-creds
      global:
        repo1-path: /pgbackrest/postgres-operator/hippo-azure/repo1
      repos:
      - name: repo1
        azure:
          container: "<YOUR_AZURE_CONTAINER>"
Loading