From 66b42766bd448856b59ec724cc22d081d6f3c607 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 10 May 2026 09:47:58 +0300 Subject: navidrome: add startup/readiness/liveness probes Prevents Traefik from routing traffic to navidrome before it has finished its ~1m14s cold start (NFS cache warm-up + initial scan), which was causing 501s and 'context canceled' errors right after each cluster boot. Amp-Thread-ID: https://ampcode.com/threads/T-019e109f-fa43-7467-bb0b-1a4a2d3d0b9e Co-authored-by: Amp --- f3s/navidrome/helm-chart/templates/deployment.yaml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/f3s/navidrome/helm-chart/templates/deployment.yaml b/f3s/navidrome/helm-chart/templates/deployment.yaml index b140537..c7ddbf7 100644 --- a/f3s/navidrome/helm-chart/templates/deployment.yaml +++ b/f3s/navidrome/helm-chart/templates/deployment.yaml @@ -25,6 +25,29 @@ spec: value: "info" - name: ND_BASEURL value: "" + startupProbe: + httpGet: + path: /ping + port: 4533 + # Allow up to 5 min for cold start (NFS cache warm-up, scan, etc.) + initialDelaySeconds: 15 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 60 + readinessProbe: + httpGet: + path: /ping + port: 4533 + periodSeconds: 10 + timeoutSeconds: 3 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /ping + port: 4533 + periodSeconds: 30 + timeoutSeconds: 5 + failureThreshold: 5 volumeMounts: - name: navidrome-data mountPath: /data -- cgit v1.2.3