Files
homelab/k8s/applications/homarr/deployment-probes-patch.yaml
T

29 lines
737 B
YAML
Raw Normal View History

# 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