Skip to content

How to enable livenessProbe and livenessProbe for PostgREST docker image in k8s #1891

Answered by colearendt
sirijagadeesh asked this question in Q&A
Discussion options

You must be logged in to vote

Related discussion: #1933

Basically, the idea is to use HEAD requests at /. Kubernetes does not support this, so the options today are either to use GET /, or create your own health check endpoint as an rpc in your database.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sirijagadeesh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1890 on July 06, 2021 17:39.