-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create health check endpoints #33
Comments
i'm struggling to understand what you mean by this. What is the user story here? |
I hoped that would be explained by the wording and the link under the context section. Kubernets needs something reachable in order to determine if it's alive or not. Therefore, the frontend (which is running a server anyway to serve html) also need to have similar endpoint, although it doesn't need to reach to the database or anywhere else |
Thanks for clarification. One more thing: we're still using sqlite and not psql, so if i remove the db file, startup the db, do |
Yeah, I guess it's fine to query a table (and not return anything from the endpoint) to better validate that prisma client is properly initiated |
Goal
Both of our services have
/api/healthz
get endpointsContext
#30 (comment)
Tasks
/api/healthz
endpoint toapi
/api/healthz
endpoint tofrontend
The text was updated successfully, but these errors were encountered: