Skip to content

Conversation

SanchithHegde
Copy link
Member

@SanchithHegde SanchithHegde commented May 20, 2025

Description

This PR adds a /health endpoint alongside the metrics server, to allow it to be used as a readiness and liveness probe when deploying in Kubernetes environments. Currently, even though there exists a health endpoint, it is behind mTLS, which prevents it from being used as a readiness / liveness probe.

Additionally, this PR addresses some clippy lints stabilized in Rust 1.87. This change affects the src/app/tls.rs file alone.

I've also included some CI improvements in this PR.

I've tested it locally by calling the health endpoint at http://localhost:6128/health.

@SanchithHegde SanchithHegde self-assigned this May 20, 2025
@SanchithHegde SanchithHegde added the enhancement New feature or request label May 20, 2025
@inventvenkat inventvenkat merged commit d64e17c into main May 21, 2025
4 checks passed
@inventvenkat inventvenkat deleted the add-health-server-without-mtls branch May 21, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants