diff --git a/k8s/applications/homarr/homarr-values.yaml b/k8s/applications/homarr/homarr-values.yaml index 25575ad..680e4c6 100644 --- a/k8s/applications/homarr/homarr-values.yaml +++ b/k8s/applications/homarr/homarr-values.yaml @@ -1,5 +1,5 @@ -# Homarr landing page - minimal config to get it running -# SSO will be added after basic deployment works +# 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 @@ -8,6 +8,31 @@ image: 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