2023-04-28 00:35:37 +00:00
|
|
|
apiVersion: postgres-operator.crunchydata.com/v1beta1
|
|
|
|
kind: PostgresCluster
|
|
|
|
metadata:
|
2023-12-20 22:40:16 +00:00
|
|
|
annotations:
|
|
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
|
|
{"apiVersion":"postgres-operator.crunchydata.com/v1beta1","kind":"PostgresCluster","metadata":{"annotations":{},"labels":{"argocd.argoproj.io/instance":"argo1-cluster-resources"},"name":"synapse-werts-db","namespace":"synapse"},"spec":{"backups":{"pgbackrest":{"image":"registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.41-2","repos":[{"name":"repo1","volume":{"volumeClaimSpec":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"100Gi"}},"storageClassName":"nfs"}}}]}},"image":"registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.6-2","instances":[{"dataVolumeClaimSpec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"50Gi"}},"storageClassName":"ssd"},"replicas":1}],"postgresVersion":14}}
|
|
|
|
creationTimestamp: "2023-04-15T00:57:21Z"
|
|
|
|
finalizers:
|
|
|
|
- postgres-operator.crunchydata.com/finalizer
|
|
|
|
generation: 7
|
|
|
|
labels:
|
|
|
|
argocd.argoproj.io/instance: argo1-cluster-resources
|
2023-04-28 00:35:37 +00:00
|
|
|
name: synapse-werts-db
|
|
|
|
namespace: synapse
|
2023-12-20 22:40:16 +00:00
|
|
|
resourceVersion: "170903554"
|
|
|
|
uid: cb69574a-b5d3-43a2-956b-93e3fb052700
|
2023-04-28 00:35:37 +00:00
|
|
|
spec:
|
|
|
|
backups:
|
|
|
|
pgbackrest:
|
|
|
|
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.41-2
|
|
|
|
repos:
|
|
|
|
- name: repo1
|
|
|
|
volume:
|
|
|
|
volumeClaimSpec:
|
|
|
|
accessModes:
|
2023-12-20 22:40:16 +00:00
|
|
|
- ReadWriteMany
|
2023-04-28 00:35:37 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 100Gi
|
|
|
|
storageClassName: nfs
|
2023-12-20 22:40:16 +00:00
|
|
|
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.6-2
|
|
|
|
instances:
|
|
|
|
- dataVolumeClaimSpec:
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 50Gi
|
|
|
|
storageClassName: ssd
|
|
|
|
name: ""
|
|
|
|
replicas: 1
|
|
|
|
userInterface:
|
|
|
|
pgAdmin:
|
|
|
|
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgadmin4:ubi8-4.30-17
|
|
|
|
dataVolumeClaimSpec:
|
|
|
|
accessModes:
|
|
|
|
- "ReadWriteOnce"
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 1Gi
|
|
|
|
paused: false
|
|
|
|
port: 5432
|
|
|
|
postgresVersion: 14
|
|
|
|
shutdown: false
|
|
|
|
status:
|
|
|
|
conditions:
|
|
|
|
- lastTransitionTime: "2023-09-10T21:54:16Z"
|
|
|
|
message: pgBackRest dedicated repository host is ready
|
|
|
|
observedGeneration: 7
|
|
|
|
reason: RepoHostReady
|
|
|
|
status: "True"
|
|
|
|
type: PGBackRestRepoHostReady
|
|
|
|
- lastTransitionTime: "2023-04-15T00:57:47Z"
|
|
|
|
message: pgBackRest replica create repo is ready for backups
|
|
|
|
observedGeneration: 7
|
|
|
|
reason: StanzaCreated
|
|
|
|
status: "True"
|
|
|
|
type: PGBackRestReplicaRepoReady
|
|
|
|
- lastTransitionTime: "2023-04-15T00:58:59Z"
|
|
|
|
message: pgBackRest replica creation is now possible
|
|
|
|
observedGeneration: 7
|
|
|
|
reason: RepoBackupComplete
|
|
|
|
status: "True"
|
|
|
|
type: PGBackRestReplicaCreate
|
|
|
|
databaseRevision: 7c4db5dbb6
|
|
|
|
instances:
|
|
|
|
- name: "00"
|
|
|
|
readyReplicas: 1
|
|
|
|
replicas: 1
|
|
|
|
updatedReplicas: 1
|
|
|
|
monitoring:
|
|
|
|
exporterConfiguration: 559c4c97d6
|
|
|
|
observedGeneration: 7
|
|
|
|
patroni:
|
|
|
|
systemIdentifier: "7222074515295850583"
|
|
|
|
pgbackrest:
|
|
|
|
repoHost:
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
ready: true
|
|
|
|
repos:
|
|
|
|
- bound: true
|
|
|
|
name: repo1
|
|
|
|
replicaCreateBackupComplete: true
|
|
|
|
stanzaCreated: true
|
|
|
|
volume: pvc-fa674c9a-8f36-447e-aa02-ea8d257c0b78
|
|
|
|
proxy:
|
|
|
|
pgBouncer:
|
|
|
|
postgresRevision: 5c9966f6bc
|
|
|
|
usersRevision: 8454d6665f
|