Update paperless-ngx to version 0.25.4 and add probes
All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s
All checks were successful
Build Helm Chart / helm-package (push) Successful in 22s
This commit updates the paperless-ngx Helm chart to version 0.25.4, reflecting the latest version in Chart.yaml and in the README.md badge. The homepage URL has been changed to point to the new repository location. Additionally, liveness and readiness probes have been added to the values.yaml configuration. These probes utilize curl to check the application's health on localhost:8000, ensuring better handling of container lifecycles. The readiness probe starts after a 60-second delay, while the liveness probe has a longer delay of 120 seconds, helping to manage startup times effectively. No breaking changes are introduced, but users should review the new probes configuration for their deployments.
This commit is contained in:
@@ -24,6 +24,36 @@ controllers:
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
# PAPERLESS_SECRET_KEY: ""
|
||||
probes:
|
||||
# 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
|
||||
|
||||
# Wichtige Timing-Einstellungen für Paperless-ngx
|
||||
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
|
||||
|
||||
# Die Liveness Probe sollte eine längere Verzögerung haben
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 60
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
|
||||
service:
|
||||
# -- Configures service settings for the chart.
|
||||
|
||||
Reference in New Issue
Block a user