Files
homelab/k8s/applications/homarr/deployment-probes-patch.yaml
T
Story Crater Bot acf8184680 fix(homarr): add proper probes via Kustomize patch
Chart version 8.23.0 doesn't support probe customization via values.
Using strategic merge patch instead.

Probe configuration:
- Liveness: 60s initial delay, 30s period, 5s timeout
- Readiness: 45s initial delay, 15s period, 5s timeout

App initialization timeline:
  0-5s: DB migrations, Redis startup
  6s: WebSocket server ready
  27-30s: Icon cache populated (27k+ icons)
  30s+: Analytics cron initialized, fully operational
2026-07-22 10:54:14 -07:00

29 lines
737 B
YAML

# Patch to add proper liveness/readiness probes to Homarr deployment
# App takes 30-45s to fully initialize (DB migrations, Redis, icon cache)
apiVersion: apps/v1
kind: Deployment
metadata:
name: homarr
namespace: dashboard
spec:
template:
spec:
containers:
- name: homarr
livenessProbe:
httpGet:
path: /api/health/live
port: 7575
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /api/health/ready
port: 7575
initialDelaySeconds: 45
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3