helm / charts

⚠️(OBSOLETE) Curated applications for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[postgresql] issue with replica creation when database is large

leforthomas opened this issue · comments

Describe the bug

The creation of a new replica fails when the database to replicate is very large. It seems that the pod is restarted by the readiness probe whilst importing the data into the database. As the import and setup are not yet finished the next start fails.

Version of Helm and Kubernetes:

Kubernetes 1.18

Which chart:

Postgres

What happened:

Database creation/import for slave is interrupted because of readiness probe restarting the pod. When the pod has restarted it complains the postgres folder is corrupted (missing postgres version).

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Primary with a very large database and add a replica, log follow and see the process being interrupted.

Anything else we need to know:

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

Hi, @leforthomas!

I suggest checking with the current maintainers of the Helm chart you're using if you believe something in the chart is causing this behavior. This repo is the former home of helm charts which are now found at Artifact Hub. Project support is not available in this repo. Thanks!