Commit 41efcc3
fix: add missing /api/health endpoint for Kubernetes probes
The Kubernetes liveness and readiness probes were failing with 404
because the /api/health endpoint didn't exist, causing pods to enter
CrashLoopBackOff state.
This adds a simple health check endpoint that returns:
- HTTP 200 status
- JSON response with status and timestamp
Fixes the production deployment issue where pods were failing health
checks and restarting continuously.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent cbbd78a commit 41efcc3
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
0 commit comments