-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Labels
kind/featureNew feature or requestNew feature or request
Description
Target Version
Current version (0.10.0+) - New Architecture
Feature Description
Applications running in Kubernetes often rely on external probes (liveness/readiness) to determine pod health. Currently, the kepler does not expose any HTTP endpoints that can be used by these probes or by monitoring systems. This makes it difficult to:
- Verify that the service is fully initialized before accepting traffic.
- Detect and recover from runtime failures automatically via Kubernetes’ self‑healing mechanisms.
Desired Feature
Problem Statement
Currently, the kepler does not expose any HTTP endpoints that can be used by these probes or by monitoring systems. This makes it difficult to:
- Verify that the service is fully initialized before accepting traffic.
- Detect and recover from runtime failures automatically via Kubernetes’ self‑healing mechanisms.
Proposed Solution
Introduce two lightweight RESTful endpoints: (see: https://kubernetes.io/docs/reference/using-api/health-checks/ )
Endpoint | Purpose | Example Response |
---|---|---|
GET /probe/readyz |
Readiness – confirms the application is ready to serve traffic. | { "status": "ok" } |
GET /probe/livez |
Liveness – checks that the process is running and not dead‑locked. | { "status": "alive" } |
Both endpoints should:
- Return HTTP 200 when healthy.
- Return a non‑2xx status (e.g., 503) when unhealthy.
Metadata
Metadata
Assignees
Labels
kind/featureNew feature or requestNew feature or request