Questions tagged [livenessprobe]
107 questions
0
votes
0 answers
MongoDB Liveness Probe
Why do we need liveness probe for MongoDB with command db.adminCommand('ping') ?
I mean, is there any scenario the main process of Mongo doesn't exit but still mongo doesn't function? Because kubelet automatically restarts container if the main…

Vasu Youth
- 323
- 3
- 13
0
votes
0 answers
EKS Readiness probe failed - httpGet.port: Invalid value
I've tried to use a readiness probe to check my pod's health while deploying using internal api. Below is my readiness config in deployment yaml,
readinessProbe:
initialDelaySeconds: 10
httpGet:
host:…

Naveen
- 103
- 1
- 12
0
votes
0 answers
Kubernetes readinessProbe calling endpoint that requires tls
I have been trying to setup a readinessProbe.
I have a spring boot actuator end point like: /actuator/health/readiness.
I cannot use the standard httpGet probe because this endpoint is secured with TLS, yes I have tried scheme:HTTPS doesn't work.…

Josh
- 31
- 4
0
votes
1 answer
Liveness probe failed request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Openshift 3.11 - while upgrading from spring boot 1.4.5 --> 2.6.1 we are observing intermidiate timeouts for liveness probe with below warning :
Liveness probe failed: Get http://172.40.23.99:8090/monitoring/health: net/http: request canceled while…

Hanan Zamalin
- 156
- 4
0
votes
1 answer
Liveness Probes Control With Sctp
Kubernetes use tcp, http and command for liveness probes but i want to use sctp. How can i use sctp with liveness probes for control my page?

İkbal
- 3
- 2
0
votes
1 answer
Liveness probe for long running PHP CLI job
we have a batch data processing script inside a container and want to check it is alive and actually working or whether it should be restarted.
It is PHP command line script and doesn't expose any kind of server. Currently running in Docker soon in…

Jindra
- 780
- 13
- 39
0
votes
1 answer
Liveness probe on microservice under stress test gets pod killed
My pod is failing stress tests. My pod is serving calls asynchronously when Ocp checks for liveness under overload timeout is triggered.
Kubernetes values for liveness probe are as follows:
successThreshold: 1
failureThreshold: 3
…

Sergio
- 89
- 1
- 6
0
votes
1 answer
Kafka in Python on Kubernetes - perform Heathcheck
I use Kafka with the Python SDK and run the Code in a Kubernetes Cluster. The "main" consumer function looks like this:
def consume(self):
logger.info("Consumer starting listening.")
try:
while True:
msg =…

Data Mastery
- 1,555
- 4
- 18
- 60
0
votes
3 answers
K8S - livenessProbe - Restart pod if another pod is not ready / working ( MySql)
Happy New Year , I have a 2 deployments , MySQL and Application , My Application is depends on the MySQL pod , I have initContainers that make sure that the Application runs after the MySQL pod fully app and ready , but I'm trying to make the next…

ITBYD
- 83
- 1
- 9
0
votes
0 answers
Pod restart very often after adding resources
Pod restart very often after adding resources.
Before that the resources were not added.
The pod doesn't restart at all, or maybe it only happens once or twice a day.
I'm not sure if resources affect health-check or not, so pod restarts very…

Siriphong Wanjai
- 1
- 1
0
votes
1 answer
Kubernetes postStart hook leads to race condition
I use a MySQL on Kubernetes with a postStart hook which should run a query after the start of the database.
This is the relevant part of my template.yaml:
spec:
containers:
- name: ${{APP}}
image:…

Data Mastery
- 1,555
- 4
- 18
- 60
0
votes
0 answers
openshift liveness probe to detect long running process
I have a python data load service. One of the steps in the service is to refresh multiple Oracle materialized views. We have noticed that the service often gets stuck at this step and the issue gets fixed after a restart (pod).
I want to configure a…

Ketan_Gupta
- 81
- 1
- 9
0
votes
1 answer
Add liveness probe to Rest API
I have a rest API (Python based). The underlying logic calls an Oracle procedure that refreshes certain materialized views. The application is hosted on Openshift Container Platform. Now sometimes the app gets stuck on this step( refresh…

Ketan_Gupta
- 81
- 1
- 9
0
votes
2 answers
Incorrect liveness probe for Redis not failing
I have configured a liveness probe for my Redis instances that makes sure that the Redis is able to retrieve keys for it to be able to be called 'alive'.
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 10
exec:
command:
…

rishav
- 441
- 9
- 27
0
votes
1 answer
Customized liveness probe for Redis instances
I need to change the liveness probe we have for our Redis instances and make it fail in case it is not able to return keys (due to being overloaded). Currently, we are just checking if it accepts TCP connections.
livenessProbe:
…

rishav
- 441
- 9
- 27