Update paperless-ngx chart version and readiness checks
All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s

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.
This commit is contained in:
2025-11-23 16:17:13 +01:00
parent 32e59538a4
commit 48f0388d3b
2 changed files with 15 additions and 21 deletions

View File

@@ -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"

View File

@@ -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.