How to enable livenessProbe and livenessProbe for PostgREST docker image in k8s #1891
-
Hi all, I am using postgREST:v7.0.1 (docker image) to test in k8s. But we need enable livenessProbe and livenessProbe. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Related discussion: #1933 Basically, the idea is to use |
Beta Was this translation helpful? Give feedback.
-
There's now proper health check endpoints on the latest pre-release: https://github.com/PostgREST/postgrest/releases/tag/v9.0.0.20220107 |
Beta Was this translation helpful? Give feedback.
Related discussion: #1933
Basically, the idea is to use
HEAD
requests at/
. Kubernetes does not support this, so the options today are either to useGET /
, or create your own health check endpoint as anrpc
in your database.