Class HealthProbeController
Lightweight health probe endpoints for Kubernetes.
Returns 200 (ok) or 503 (not ok) with minimal body.
These endpoints bypass authentication — safe for k8s probes.
GET /api/health/startup — has the process finished initialization?
GET /api/health/live — is the process alive (not hung)?
GET /api/health/ready — is the process ready to serve traffic?
GET /api/health/deploy — hot swap a new package (200) or deploy it cold (409)?
GET /api/health/deploy/cluster — the same for every alive node of the cluster.
For rich health data (CLI/Web), use GET /api/system/health instead.
[Route("/api/health")]
public class HealthProbeController : RedbController
Inheritance
Inherited Members
Methods
GetClusterDeployAdvice()
Deploy advice for every alive node of the cluster, asked from any node: 200 only when every node says "hot-swap",
[HttpGet("/deploy/cluster")]
public Task<object> GetClusterDeployAdvice()
GetDeployAdvice()
Deploy advice for this node: 200 with verdict "hot-swap" (drop the package into modules/ of the running node),
[HttpGet("/deploy")]
public object GetDeployAdvice()
GetLive()
Liveness probe: returns 200 if the process is alive and not deadlocked.
[HttpGet("/live")]
public object GetLive()
GetReady()
Readiness probe: returns 200 if the process is ready to accept traffic.
[HttpGet("/ready")]
public Task<object> GetReady()
GetStartup()
Startup probe: returns 200 once the process has completed initialization
[HttpGet("/startup")]
public object GetStartup()