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

feat: Add support for health check endpoint #410

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

popzxc
Copy link
Member

@popzxc popzxc commented Nov 22, 2024

Adds support for the health check endpoint (disabled by default).
When enabled, it will mount /health method that supports GET requests and will respond with 200 if the node is alive.
This is needed e.g. for k8s liveness checks.

Also removed a few unused deps.

@popzxc popzxc requested a review from a team as a code owner November 22, 2024 07:19
@popzxc popzxc merged commit 2b7b45c into main Nov 22, 2024
11 checks passed
@popzxc popzxc deleted the popzxc-healthcheck-server branch November 22, 2024 08:20
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.

2 participants