Questions tagged [livenessprobe]

107 questions
0
votes
1 answer

Will Container receive signal (SIGTERM) when it is NOT_READY state

Consider I have 10 containers in my POD. I have added startUpProbe for 3 containers. If I delete my POD, before Probe is completed sucessfully (Which means those containers are not in READY state) Deleting Pod should send SIGTERM signal to all the…
sethu ram
  • 23
  • 1
  • 6
0
votes
0 answers

How to enable F5 URL at Open Shift container level

currently we have a spring boot application on on-prem data centers. We enabled F5 URL (https://prd.myapp.com/) for the external systems interaction. For example: initially, external systems used to hit our application API with host…
0
votes
1 answer

Spring Boot livenessState: DOWN and readinessState: OUT_OF_SERVICE even if application is running fine

i'm developing/running a SpringBoot App on Kubernetes 1.24, which i'm also using to learn several techniques with mostly using WebClient and with my newest attempt, also sending E-Mails with JavaMailSender etc. Lately i was updating a few parts in…
0
votes
0 answers

Using liveness probe command to restart the cluster if JVM memory usage in a container exceeds 85% threshold

I am fairly new to docker, and am trying to devise a short-term fix to provide relief for a cluster container whose JVM is leaking memory. To do this, I am following this guide to add a liveness probe to the .manifest file in the cluster's…
user313
  • 681
  • 1
  • 8
  • 21
0
votes
2 answers

How to define a readiness probe on a container for checking another containers health in the same pod?

I have a Deployment object with Container A and Container B in OpenShift. The requirement here is that whenever container B exits, container A should follow or otherwise the entire pod should be replaced. Is there any way to achieve this? This is my…
0
votes
1 answer

Why startup probe is ignored?

I deployed WAS to Kubernetes(version 1.16). I used all three types of probes. The Liveness probe is set to check if the WAS process is running and if all open ports are listening. The Readiness probe calls the healthcheck api of WAS via http get.…
0
votes
1 answer

K8s Liveness Probe is keeps failing, but CURL from Pod is working

I am having a strange issue with the Liveness Probe constantly failing but connecting into the Pod and checking the endpoint with cURL looks good. Here is the output of the CURL command. curl -v localhost:7000/health * Expire in 0 ms for 6 (transfer…
john
  • 1,561
  • 3
  • 20
  • 44
0
votes
0 answers

What has caused Readiness probe failed error, after successfully deployed on Jenkins?

readinessProbe: httpGet: port: 8080 path: actuator/health/readiness initialDelaySeconds: 120 failureThreshold: 5 periodSeconds: 60 livenessProbe: httpGet: port: 8080 path: actuator/health/liveness initialDelaySeconds: 300 failureThreshold:…
0
votes
2 answers

Kubernetes pod's liveness probe failing without any error message

I'm running pods in EKS and in the pods there 3 containers. One of the container restarting in every 5 min with message "Liveness probe failed:". In Liveness probes there is no error message why liveness probe failed. Here is the output of the pod…
0
votes
0 answers

Readiness and liveness probes for application with dependencies (DB, Celery, RabbitMQ)

Imagine there is a Django application. The application dependencies: DB, Celery (workers, beat), RabbitMQ (as a broker for Celery). If with liveness probe it is more or less clear (if the liveness probe did not pass, it restarts pod), then with…
0
votes
1 answer

Kubernetes - What happens if startupProbe runs beyond periodSeconds

I have a Deployment which runs a simple apache server. I want to execute some commands after the service is up. I am not quite sure how much time the post action commands going to take. I have "timeoutSeconds" set as more than…
0
votes
1 answer

Kubernetes - Liveness httpGet probe closes the connection before reading the entire body

Below is the current configuration of my liveness probe: livenessProbe: httpGet: path: /connectors port: 8083 scheme: HTTP initialDelaySeconds: 120 periodSeconds: 60 successThreshold: 1 …
Varunkumar Nagarajan
  • 1,807
  • 1
  • 24
  • 43
0
votes
1 answer

Kubernetes Kibana 8.5.2 Statefulset healthcheck path? Tried /login but "connection refused"

Kibana Statefulset: readinessProbe: httpGet: scheme: HTTPS path: /login port: 5601 initialDelaySeconds: 20 periodSeconds: 5 timeoutSeconds: 10 …
0
votes
2 answers

In Kubernetes, why does readinessProbe have the option periodSeconds?

I understand what a readinessProbe does, but I don't see why it should have a periodSeconds. Once it's determined that the pod is ready, it should stop checking. Wouldn't checking periodically then be up to the livenessProbe? Or am I missing…
sffortytwo
  • 127
  • 1
  • 7
0
votes
0 answers

liveness probe for EKS daemonset

I am trying to set up liveness Probe for my fluent-bit daemonset which basically runs a echo statement that should get pushed to stdout and available as container logs. I should then be able to use this log for alerting if the application is…
fledgling
  • 991
  • 4
  • 25
  • 48