From 48f0388d3b30031e48f296c42f909506f07a368d Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 23 Nov 2025 16:17:13 +0100 Subject: [PATCH] Update paperless-ngx chart version and readiness checks Improved the readiness and liveness probes for the paperless-ngx chart by switching from exec commands to HTTP GET requests. This change allows for more reliable checks that verify the application is up and fully running based on the web server's response. The readiness probe now checks the root path and will only return success if the application is fully connected to the database and Redis, improving traffic flow during startup. In addition, the chart version was updated from 0.25.0 to 0.25.1 to reflect these changes. There are no breaking changes, but the adjustments to the probes enhance the overall stability and monitoring capabilities of the deployment. --- charts/paperless-ngx/Chart.yaml | 2 +- charts/paperless-ngx/values.yaml | 34 +++++++++++++------------------- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/charts/paperless-ngx/Chart.yaml b/charts/paperless-ngx/Chart.yaml index 28a5932..d013269 100644 --- a/charts/paperless-ngx/Chart.yaml +++ b/charts/paperless-ngx/Chart.yaml @@ -4,7 +4,7 @@ description: "A community-supported supercharged version of paperless: scan, ind home: https://charts.gabe565.com/charts/paperless-ngx/ icon: https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/b948750/src-ui/src/assets/logo-notext.svg type: application -version: 0.25.0 +version: 0.25.1 # renovate datasource=docker depName=ghcr.io/paperless-ngx/paperless-ngx appVersion: 2.20.0 kubeVersion: ">=1.28.0-0" diff --git a/charts/paperless-ngx/values.yaml b/charts/paperless-ngx/values.yaml index 49873c7..01d099a 100644 --- a/charts/paperless-ngx/values.yaml +++ b/charts/paperless-ngx/values.yaml @@ -28,34 +28,28 @@ controllers: # 1. Readiness Probe (Wichtigste für den Traffic-Fluss) readiness: enabled: true - type: exec # Wechsel zu einem Ausführungsbefehl - command: - - /usr/bin/curl - - -f - - http://localhost:8000 + type: http # Verwendung des HTTP GET-Typs + path: / # Prüft den Hauptpfad (Webserver antwortet nur, wenn DB/Redis verbunden sind) + port: 8000 # Paperless-ngx läuft standardmäßig auf 8000 # Wichtige Timing-Einstellungen für Paperless-ngx - spec: - initialDelaySeconds: 60 # Warten Sie 60 Sekunden, bevor Sie mit der Prüfung beginnen, da Paperless-ngx lange booten kann - periodSeconds: 10 - timeoutSeconds: 5 - failureThreshold: 5 # 5 aufeinanderfolgende Fehler, bevor der Pod als "not ready" gilt + initialDelaySeconds: 60 # Warten Sie 60 Sekunden, bevor Sie mit der Prüfung beginnen, da Paperless-ngx lange booten kann + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 # 5 aufeinanderfolgende Fehler, bevor der Pod als "not ready" gilt # 2. Liveness Probe (Wichtig für das Neustarten des Containers bei Absturz) liveness: enabled: true - type: exec # Wechsel zu einem Ausführungsbefehl - command: - - /usr/bin/curl - - -f - - http://localhost:8000 + type: http + path: / + port: 8000 # Die Liveness Probe sollte eine längere Verzögerung haben - spec: - initialDelaySeconds: 120 - periodSeconds: 60 - timeoutSeconds: 5 - failureThreshold: 3 + initialDelaySeconds: 120 + periodSeconds: 60 + timeoutSeconds: 5 + failureThreshold: 3 service: # -- Configures service settings for the chart.