prometheus: prometheus readiness probe keeps on failing
What did you do? i did deployment of prometheus 2.27.1 .
What did you expect to see? prometheus server up and running .
What did you see instead? Under which circumstances?
prometheus container keep on restaring with readiness probe failures .
Warning Unhealthy 5s (x63 over 9m50s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 503
prometheus-prometheus-operator-kube-p-prometheus-1 1/2 Running 3 12m
the readiness is configured like this
Readiness: http-get http://:web/-/ready delay=100s timeout=3s period=5s #success=1 #failure=1000
-> other configurations tried
- keep original settings
- increase timeout
- Prometheus version:
2.27.1
- Logs:
Normal Pulling 11m (x2 over 11m) kubelet Pulling image "quay.io/prometheus/prometheus:v2.27.1"
Normal Created 11m (x2 over 11m) kubelet Created container prometheus
Normal Started 11m (x2 over 11m) kubelet Started container prometheus
Normal Pulled 11m (x2 over 11m) kubelet Successfully pulled image "quay.io/prometheus/prometheus:v2.27.1"
Warning Unhealthy 5s (x63 over 9m50s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 503
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (9 by maintainers)
Yes, the flags should still be applicable.
@LeviHarrison i observed a bit closer that during restarts always some queries fail and i think you are right . for example again this happened :
now when i look at the blogpost by @brian-brazil : https://www.robustperception.io/what-queries-were-running-when-prometheus-died
then i get to know that indeed this can happen . apologies for assuming that a query cant bring pod down, earlier.
As per this blog post : https://giedrius.blog/2019/01/13/choosing-maximum-concurrent-queries-in-prometheus-smartly/ , these flags the controls the concurrent requests :
is this flag still applicable and assumption with respect to concurrent requests are still valid ? i am using prometheus 2.27.1