1
Unauthenticated liveness/readiness endpoint for Kubernetes probes
Source: paperless-ngx/paperless-ngx#14844 · opened by @rhierlmeier
Description Paperless-ngx has no dedicated health endpoint for orchestrator probes. The image's Docker HEALTHCHECK does curl -fsSL i.e. it renders the login page. Kubernetes users have to copy that pattern for readinessProbe / startupProbe. This is related to, but different from, #10773: that request was about exposing the full system status for monitoring, and /api/status/ covers that (it requires admin auth). This request is only about a cheap, unauthenticated "is the web server up and able to serve requests" signal, without exposing any data. Why it matters more since 3.5.0: when PAPERLESS_URL is set, ALLOWED_HOSTS is now restricted to that host plus localhost (previously *). A plain Kubernetes httpGet probe sends the pod IP as Host header and now gets 400 Bad Request (DisallowedHost). It works only if you know to add httpHeaders: [{name: Host, value: localhost}]. Without a probe at all, the pod is marked Ready before the web server listens, and in-cluster API cl…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature Request] add waiting-for-db loop to the install script
1 vote · 0 comments
[Feature Request] Drop postgresql-client / mariadb-client from the image (readiness check in Python)
1 vote · 0 comments
[Feature Request] Add security-relevant logging for authentication and document share links
3 votes · 0 comments
[Feature Request] Official Helm chart for Kubernetes deployment
7 votes · 0 comments
[Feature Request] Ability to split webserver & worker (or multiple workers) into separate containers
8 votes · 0 comments
No comments yet.