https://prefect.io logo
Title
r

Ryan Sattler

11/22/2021, 5:42 AM
Hi, I’m trying to get some basic (short-term) persistence going with the included Postgresql in the Prefect Server Helm Chart. When I change
postgresql: persistence: enabled:
from
false
to
true
in the chart and
helm install
, the chart appears to install successfully as normal and the various server pods are created, but the Postgres pod never appears and there are no error messages, nothing in
kubcetl get deployments
or
kubectl describe replicasets
etc. With the value
false
it works fine (except for the part where it loses all data when the pod dies). Does anyone know how to debug this?
a

Anna Geller

11/22/2021, 9:06 AM
@Ryan Sattler I saw most people using Server deploying their own database instance from their cloud provider e.g. RDS on AWS etc. This would also be recommended for production. But since you need a short-term solution, the included postgres pod should work fine. I will try to reproduce.
@Ryan Sattler I’ve been following this README and it worked just fine in a local cluster. You need to run “helm dependency update” to get postgres chart.
r

Ryan Sattler

11/22/2021, 11:21 PM
hmm thanks I’ll try that