reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
https://www.kubegres.io
Apache License 2.0
1.32k stars 74 forks source link

Recovering from failed cluster with no STSs running, no backup #133

Open teebu opened 2 years ago

teebu commented 2 years ago

We run a kubernetes cluster and the stateful set seems to have failed.

We're seeing these errors:

image

We have 6 PVC's at this point, no pods running, and no STSs running.

How do we recover our postgres cluster without data loss? Would like to avoid deleting NS.

Kubegres version: reactivetechio/kubegres:1.10 Kubernetes version: 1.22.6 Postgres Version: postgres:13.2