Files
homelab/k8s/applications/homarr/homarr-values.yaml
T
Story Crater Bot cd3abede11 fix(homarr): configure proper liveness/readiness probes
App takes ~30-45s to fully initialize:
- DB migrations
- Redis startup
- Icon repository cache fetch (27k+ icons)
- WebSocket server start
- Analytics cron initialization

Probes need:
- initialDelaySeconds: 45-60s (not 10s default)
- timeoutSeconds: 5s (not 1s default)
- periodSeconds: 15-30s for stable health checks

Previous issue: 1s timeout + 10s initialDelay killed healthy container
before app finished initialization.
2026-07-22 10:53:16 -07:00

48 lines
1.0 KiB
YAML

# Homarr landing page - minimal working config
# App takes ~30 seconds to fully initialize (DB migrations, Redis, icon cache)
image:
repository: ghcr.io/homarr-labs/homarr
tag: "latest"
pullPolicy: Always
replicaCount: 1
# Override default probes - chart defaults are too aggressive for startup time
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /api/health/live
port: 7575
initialDelaySeconds: 60 # App needs time for migrations + icon fetch
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /api/health/ready
port: 7575
initialDelaySeconds: 45 # Wait for WebSocket + analytics cron
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi