Is there anyone who knows of a guide on how to bui...
# ktor
a
Is there anyone who knows of a guide on how to build a readiness/liveness endpoint for your ktor application? Is it as simple as configuring a singleton to respond with
200
or
503
?
s
That’s what I’m doing on Kubernetes.
🙌 1
Copy code
get("/health-check") {       call.apiResponse(BodyResponse(OK, HealthStatus("Healthy")))
}
👀 1