generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 3
Crunchy Data Operator Overview
jon-funk edited this page Jan 23, 2025
·
3 revisions
- The OpenShift platform has an operator installed that is managed by the Platform Services team, this operator runs on a
control loopwhere it constantly polls allPostgresClusterworkloadkindsin the cluster it's installed in. ThePostgresClusterkind is a Custom Resource Definition (CRD) - All teams (including us) can create
PostgresClusterobjects in our namespaces and the operator will detect creation/changes and in response will provision new workloads to construct and manage the postgres cluster

Each PostgresCluster CRD created in a namespace results in the following workloads:
- Two or more statefulsets which have 1 pod each and 4 containers
- Pod contains:
- The patroni postgres container itself
- A container to manage certs
- pgbackrest (the backup creation and management solution)
- a configuration container for pgbackrest
- A volume to store postgres data
- A volume to store postgres WAL transaction logs
- Pod contains:
- A statefulset to host repositories for managing backups, see backup docs
Reference: https://access.crunchydata.com/documentation/postgres-operator/latest/architecture/high-availability