Questions tagged [livenessprobe]
35 questions
3
votes
1 answer
Do Kubernetes liveness probes run in parallel with your application?
I have a pod running on Kubernetes for which I am designing a liveness probe. My application reads from a queue (via a loop which continually searches for new messages and executes other functions if it finds one) and is not exposed via HTTP, so I…
![](../../users/profiles/13122890.webp)
Lucy
- 79
- 7
2
votes
2 answers
Are Kubernetes liveness probe failures voluntary or involuntary disruptions?
I have an application deployed to Kubernetes that depends on an outside application. Sometimes the connection between these 2 goes to an invalid state, and that can only be fixed by restarting my application.
To do automatic restarts, I have…
![](../../users/profiles/938782.webp)
roim
- 4,161
- 2
- 22
- 29
2
votes
1 answer
Liveness Probe, Readiness Probe not called in expected duration
On GKE, I tried to use readiness probe/ liveness probe , and post alert using monitoring https://cloud.google.com/monitoring/alerts/using-alerting-ui
as a test, I create a pod which has readiness probe/ liveness probe. Probe check failed everytime,…
![](../../users/profiles/9223835.webp)
Ryo
- 139
- 1
- 10
2
votes
1 answer
Spring Boot 2.3 Liveness Probe feature fails in graceful shutdown
I'm testing the new feature graceful shutdown in Spring Boot 2.3 (server.shutdown=graceful and Tomcat Web server) with Kubernetes terminationGracePeriodSeconds field.
When the graceful shutdown phase starts, new HTTP requests are rejected as…
![](../../users/profiles/8713360.webp)
Antonio Pescione
- 21
- 2
2
votes
0 answers
Liveness probe failing but the endpoint is accessible from different pods
I'm trying to implement a simple liveness probe in my helm chart deployment template. Below is my liveness probe configuration. Spring boot /actuator/health endpoint is used as the health check endpoint.
containers:
- name: {{ .Release.Name…
![](../../users/profiles/14420887.webp)
Shihan Anuruddha
- 21
- 1
1
vote
1 answer
Kubernetes liveness probe httpGet schema not working correctly
I am deploying some web app on kubernetes and I want to set liveness probe for this application.
When I configure my deployment with liveness probe, kubelet start health check. I was defined httpGet with scheme "HTTP" parameter but kubelet using…
![](../../users/profiles/15626267.webp)
Ömer
- 11
- 1
1
vote
1 answer
Why pod goes to CrashLoopBackOff after restarting successfully few times due to liveliness probe failed
I've a simple spring boot application with following liveness probe:
livenessProbe:
httpGet:
path: /health
port: 56017
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds:…
![](../../users/profiles/2355463.webp)
Atiq
- 51
- 4
1
vote
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…
![](../../users/profiles/4820101.webp)
samshers
- 1,269
- 1
- 18
- 39
1
vote
0 answers
Quarkus-kubernetes- How to avoid zombie process?
I have one application that is creating zombies processes each 1-2 seconds in my cluster. I'm using Process in my app, but only when I receive specific commands which is not the case right now.
String command = "helm install release…
![](../../users/profiles/2661292.webp)
Sebastien Dionne
- 727
- 2
- 18
- 34
1
vote
1 answer
Is that possible to use Http and Command livenessProbe in the same deployment?
I just have a doubt on whether is possible to run multiples liveness probes in the same deployment.yaml.
For example: I already have a liveness probe that runs a python script that check my application like:
livenessProbe:
failureThreshold: 5
…
![](../../users/profiles/11951551.webp)
Arthur Ávila
- 47
- 5
1
vote
1 answer
Choosing between TCP probe and HTTP probe for liveness and readiness in kubernetes
To keep things simple, I think its better to just check the TCP port for liveness and readiness in kubernetes as it doesn't require knowledge of health-check endpoint (HTTP path) but just the port number. Any guide on the disadvantages of just…
![](../../users/profiles/6165150.webp)
wings
- 180
- 2
- 11
1
vote
1 answer
openshift livenessProbe logging only when status NOT 200
I have a simple livenessProbe http check:
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 20
timeoutSeconds: 30
failureThreshold: 3
successThreshold: 3
In my logs there are tons of /health…
![](../../users/profiles/1677814.webp)
Martin Fric
- 694
- 1
- 7
- 25
1
vote
1 answer
"Cannot resolve configuration property" in Spring boot when trying to configure probes
In my Spring Boot 2.3.3.RELEASE I'm tyring to enable to readiness and liveness endpoints.
I added this to the yml file:
But IntelliJ marks the values with "Cannot resolve configuration property" , and the endpoints are not accessible (e.g.…
![](../../users/profiles/5458827.webp)
riorio
- 5,015
- 5
- 29
- 70
0
votes
2 answers
S3 - Kubernetes probe
I have the following situation:
Application uses S3 to store data in Amazon. Application is deployed as a pod in kubernetes. Sometimes some of developers messes with access data for S3 (eg. user/password) and application fails to connect to S3 - but…
![](../../users/profiles/2779330.webp)
Bojan Vukasovic
- 1,474
- 14
- 28
0
votes
1 answer
Kubernetes Probes in deployment template
I have a question regarding Kubernetes Liveness/Readiness probes configuration.
I have an application developed in netCore 3.1 that at this moment, in production env (version 1.0.0), doesn't have configured health checks.
I have implemented the…
![](../../users/profiles/15898711.webp)
DavideP
- 15
- 7