Questions tagged [readinessprobe]
114 questions
12
votes
2 answers
Is probing of a Pod retried after a readiness probe fails
readinessProbe: Indicates whether the container is ready to respond to requests. If the readiness probe fails, the endpoints controller removes the Pod's IP address from the endpoints of all Services that match the Pod. The default state of…

User5678
- 191
- 1
- 8
8
votes
3 answers
Liveness and readiness probe connection refused
I keep getting this error when I try to setup liveness & readiness prob for my awx_web container
Liveness probe failed: Get http://POD_IP:8052/: dial tcp POD_IP:8052: connect: connection refused
Liveness & Readiness section in my deployment for the…

Abderrahmane
- 385
- 2
- 3
- 14
7
votes
1 answer
k8s readiness and liveness probes failing even though the endpoints are working
I've got a Next.js app which has 2 simple readiness and liveness endpoints with the following implementation:
return res.status(200).send('OK');
I've created the endpoints as per the api routes docs. Also, I've got a /stats basePath as per the docs…

Milkncookiez
- 6,817
- 10
- 57
- 96
6
votes
3 answers
liveness and readiness probe for multiple containers in a pod
I would like to know if there is a possibility to apply liveness and readiness probe check to multiples containers in a pod or just for one container in a pod.
I did try checking with multiple containers but the probe check fails for container A and…

sandy
- 61
- 1
- 2
5
votes
0 answers
Readiness probe gives out of service error
I have updated spring boot to 2.5.2 from 2.1.8.RELEASE. Before that liveness and readiness probe was fine. Now after updating the spring boot I have updated my application properties…

Fay007
- 2,707
- 3
- 28
- 58
5
votes
1 answer
How to configure Kubernetes startup probe with Spring Actuator
I have read a few documentations and figured out how to set up readiness and liveness endpoints with Actuator, like this one. But I am not able to figure out how to set-up the endpoint for the 'startup' probe.
My application yml:
management:
…

rishav
- 441
- 9
- 27
5
votes
1 answer
Kubernetes Health Check: timeoutSeconds exceeds periodSeconds
In Kubernetes Kubernetes Health Check Probes, what happens if timeoutSeconds exceeds periodSeconds? For example:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
When will the Pod…

h q
- 1,168
- 2
- 10
- 23
5
votes
2 answers
K8s liveness probe behavior when the pod contains more than one container?
Scenario: A K8S pod has more than one container and liveness/readiness probes are configured for each of the containers. Now if the liveness probe is succeeding on some containers and failing on few containers, what will k8s do.
will it restart…

samshers
- 1
- 6
- 37
- 84
5
votes
2 answers
How to define k8s liveness probe and readness probe for worker pod
I have a k8s cluster. Our service is queue based. Our pod subscribe to an event queue,fetch event and do tasks. So for this kind of service, how to define k8s liveness probe and readiness probe?

Ruoxuan.Wang
- 179
- 1
- 2
- 13
4
votes
1 answer
How to add readiness probe for snapshot-controller Deployment
I am trying to add livenessprobe for snapshot-controller. snapshot-controller deployment mentioned here to be specific. I tried to exec into controller pod to see what can be used for liveness probe. But not able to get into the pod. Has someone…

ambikanair
- 4,004
- 11
- 43
- 83
4
votes
0 answers
Liveness/Readiness set of health indicators for Spring Boot service running on top of Kafka Streams
How health indicators should be properly configured for Spring Boot service running on top of Kafka Streams with DB connection? We use Spring Cloud Streams and Kafka Streams binding, Spring-Data JPA, Kubernetes as a container hypervisor. We have let…

Robert Gonciarz
- 363
- 2
- 8
- 15
4
votes
2 answers
Setting up a readiness, liveness or startup probe
I'm having difficulty understanding which would be best for my situation and how to actually implement it.
In a nutshell, the problem is this:
I'm spinning up my DB (Postgres), BE (Django), and FE (React) deployments with Skaffold
About 50% of the…

cjones
- 8,384
- 17
- 81
- 175
4
votes
1 answer
Pod receives traffic even Kubernetes readiness probe fails
I have one application which servers for REST request and also is listening on a Kafka topic.
I deployed the application to Kubernetes and configure the readiness probe like this
readinessProbe:
exec:
command:
- cat
- /tmp/healthy
…

Shenghua Liu
- 43
- 4
3
votes
1 answer
Is readinessprobe used amidst rolling deployment?
In the below yaml syntax:
readinessProbe:
httpGet:
path: /index.html
port: 80
initialDelaySeconds: 3
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 3
Readiness probe is used…

overexchange
- 15,768
- 30
- 152
- 347
3
votes
1 answer
Mysql Kubernetes Deployment helm chart fails with readiness and liveness probe failed
I am new to stackoverflow, so pardon if I have not followed all rules for asking this question.
So, I am using this helm chart: https://github.com/helm/charts/tree/master/stable/mysql for deploying mysql for our production env. Infact we have this…

Navin Kumar
- 31
- 1
- 5