1

The workload 'datastore' inside our Kubernetes cluster has stopped working giving a CrashLoopBackOff error.

I have tried accessing logs for this pod and it gives the following details:

FATAL: "/var/lib/postgresql/data/pgdata" is not a valid data directory DETAIL: File "/var/lib/postgresql/data/pgdata/PG_VERSION" does not contain valid data. HINT: You might need to initdb.

Has anybody else faced this error before? What has suddenly caused this to happen and how can I go about fixing it?

Thanks

2
  • Could you please add the image you are using and the deployment yaml files? Commented Aug 28, 2019 at 13:51
  • 1
    Already answered here - stackoverflow.com/questions/51093171/… Commented Aug 28, 2019 at 14:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.