Questions tagged [livenessprobe]
107 questions
0
votes
0 answers
Code Changes for Implementing Kubernetes Probes
I want to implement Kubernetes Liveliness Probes in my .Net core application with C# language. I understood that first I need to define the liveliness probe in deployment.yaml file of my application. I also created the http service in my application…

solveit
- 869
- 2
- 12
- 32
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…

Bojan Vukasovic
- 2,054
- 22
- 43
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…

DavideP
- 57
- 10
0
votes
1 answer
How to set liveness & readiness probes to let a Spring Boot application survived under highload rather than be killed by kubernetes and restart?
Developing a Spring Boot application (with actuator), sometimes the application is so highly loaded ( or "busy", thread pool is exhausted and requests are in a long queue) that liveness probe can easily decided to restart it ( rather than stay in a…

J.J. Beam
- 2,612
- 2
- 26
- 55
0
votes
1 answer
How to Identify pod restart activity was triggered by Liveness Probe in Spring Boot Log?
I’m working with a Spring Boot application.
And I have included the http liveness probe config using REST API endpoint.
So, whenever the REST API is inaccessible, then Kubernetes will restart the pod.
The question is, I need identify if there is…

Tariv
- 54
- 7
0
votes
1 answer
Turn on/off liveness probe using configMap UI on Rancher
I'm looking for a approach where we can turn on/off liveness probe using configMap UI on Rancher, and same time it does not require redeployment of the pod.
In details : Assume the liveness probe is already been config on pod. Next I have a boolean…

Tariv
- 54
- 7
0
votes
2 answers
Set Kubernetes Readiness for elasticsearch client
I upgraded the elasticsearch chart in kubernetes from 6.6 to 7.10.2 version. Data and master pods are running and ready but, the clients aren't ready (2 clients, 2 data , 3 master).
This is their status:
NAME READY…

NoamiA
- 521
- 4
- 19
0
votes
1 answer
Openshift readiness and liveness probe never failing even with incorrect http url
I am running a Spring Boot 2.0.0 application inside an OpenShift Pod. To execute the readiness and liveness probe, I am relying on spring boot actuator healthchecks. My application properties file has following properties…

ChS
- 67
- 12
0
votes
0 answers
Kubernetes liveness probe restarted container keeps failing to access some resources
There are kubernetes microservices (written in .net core 3.1) having liveness probe. When this liveness probe detects some other external resources (e.g. redis, rabbitmq) not accessible, kubernetes restarts the container of the services. The restart…

Joci68
- 1
- 1
0
votes
1 answer
LivenessProbe command for a background process
What is an appropriate Kubernetes livenessProbe command for a background process?
We have a NodeJS process that consumes messages off an SQS queue. Since it's a background job we don't expose any HTTP endpoints and so a liveness command seems to be…

n00b
- 5,843
- 11
- 52
- 82
0
votes
1 answer
initialDelaySeconds value from configMap
I have multiple services and their probes are configured in the same way. I would like to extract common values like initialDelaySeconds, periodSeconds etc for livenessProbe into configMap. Is it possible?
When I create a configMap like this:
data:
…

Marx
- 804
- 10
- 23
0
votes
2 answers
What's the difference between Pod lifecycle and liveness?
My pods sometimes appear that restarted automatically, but I don't have a liveness yet.
I read that it can be the lifecycle of the pod that when you don't specify a RestartPolicy, by default is Always and when a Container crash, it restart…

Arthur Ávila
- 69
- 2
- 9
0
votes
1 answer
Does Kubernetes Liveness and Readiness check if python is running?
I've got a simple question but I can't find out the right answer.
I have a couple of pods runnig my applications in python in kubernetes. I didn't implement liveness and readiness yet. When I was talking to my leader, he told me that I had to create…

Arthur Ávila
- 69
- 2
- 9
0
votes
1 answer
Pod in Deployment won't fulfill readiness check
I made a simple deployment of an nginx pod and afterwards edited the deployment to add a readinessProbe and a livenessProbe via TCP like in the official docs.
Once I save it the deployment created a new replicaSet and started the new pod, but the…

Heikkisorsa
- 740
- 9
- 31
-1
votes
1 answer
example for kubernetes liveness and readiness probe endpoints
can someone give an example or explain the difference between the liveness endpoint and the readiness endpoint for a webapp, that has a /ping endpoint that returns pong.
Do I need different probes here at all? I read in this…

mafra
- 1
- 1