-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I am currently deploying a PostgreSQL StatefulSet following the steps from the provided repository. However, I encountered a few issues along the way that I would like to highlight and seek assistance with:
Issue 1: Persistent Volumes
Initially, I faced an issue with Persistent Volume Claims (PVCs) not being able to find matching Persistent Volumes (PVs). This was due to the absence of PV configurations in the repository. To resolve this, I manually created the required Persistent Volumes, after which the StatefulSet pod postgres-sts-0 started running successfully.
Issue 2: Pod postgres-sts-1 Crashing
Despite resolving the volume issue, I am now facing a problem where pod postgres-sts-1 enters a CrashLoopBackOff state. The pod repeatedly crashes while trying to clone data from the primary pod (postgres-sts-0). The failure occurs during the initialization of the replication process.
I have already attempted to restart the StatefulSet but the issue persists.