Skip to content
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

add health check endpoint to config api #1135

Merged
merged 4 commits into from
Dec 1, 2020
Merged

Conversation

cgardens
Copy link
Contributor

@cgardens cgardens commented Nov 30, 2020

For K8s, our API needs to have a GET endpoint that can be used as a health check. Goal of this PR is to get something up for a health check. We should add more things we test in the health check as we go.

#835
#1102

HealthCheckRead:
type: object
required:
- db
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small thing but just db is vague, maybe db_healthy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is how we did it for unblocker. why the change of heart? will it be clearer when we add other attributes or less clear?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably more clear -- I'm good with it either way but it saves the 1 second of mental mapping from db to db_healthy in my head

@cgardens cgardens merged commit f703fea into master Dec 1, 2020
@cgardens cgardens deleted the cgardens/add_healthcheck branch December 1, 2020 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to override REACT_APP_API_URL Support deployment on Kubernetes
3 participants