Describe the bug
Loki 3.6.5 intermittently returns 503 on the /ready endpoint during startup when deployed in Kubernetes (single-binary mode with -target=all).
- Pod starts successfully
- No restarts
- Readiness probe fails with HTTP 503
- External access works
- Internal access from within the Loki container fails
Readiness eventually succeeds, but by external container in same namespace
To Reproduce
-
Started Loki docker.io/grafana/loki:3.6.5
-config.file=/etc/loki/config/config.yaml
-target=all
-
(Promtail not required — readiness fails before ingestion)
-
Access readiness endpoint:
GET http://:3100/ready
Result:
HTTP 503
Kubernetes readiness probe:
http-get http://:http-metrics/ready
delay=15s timeout=1s period=10s
Event observed:
Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503
Expected behavior
- /ready should return 200 once Loki process is operational
- Readiness should not return prolonged 503
- Internal and external access should behave consistently
Environment:
- Infrastructure: Kubernetes (StatefulSet, single-binary mode)
- Deployment tool: Helm
- Image: docker.io/grafana/loki:3.6.5
- Storage: PVC (30Gi)
Screenshots, Promtail config, or terminal output
Pod event during failure:
Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503
Pod eventually transitions to:
Ready: True
ContainersReady: True
Full kubectl describe pod output available upon request.
Describe the bug
Loki 3.6.5 intermittently returns 503 on the /ready endpoint during startup when deployed in Kubernetes (single-binary mode with -target=all).
Readiness eventually succeeds, but by external container in same namespace
To Reproduce
Started Loki docker.io/grafana/loki:3.6.5
-config.file=/etc/loki/config/config.yaml
-target=all
(Promtail not required — readiness fails before ingestion)
Access readiness endpoint:
GET http://:3100/ready
Result:
HTTP 503
Kubernetes readiness probe:
http-get http://:http-metrics/ready
delay=15s timeout=1s period=10s
Event observed:
Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503
Expected behavior
Environment:
Screenshots, Promtail config, or terminal output
Pod event during failure:
Warning Unhealthy Readiness probe failed: HTTP probe failed with statuscode: 503
Pod eventually transitions to:
Ready: True
ContainersReady: True
Full kubectl describe pod output available upon request.