Questions tagged [readinessprobe]

114 questions
0
votes
1 answer

How to check readiness without creating a deadlock in a cluster configuration in Kubernetes?

I want to deploy a service with three replicas, each having a readiness probe. One pod will start working (sending data at a port on which readiness is tested) only when the other two pods also spin up. All the three pods need to spin up, register…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
0
votes
0 answers

How to setup readiness and liveliness probe values suitable for my application? Want to avoid writing code for http probe

I have an application that establishes SSE stream connections before starting and takes around 15 mins. to start. Then it is live and prints logs for 2-3 mins and then sits idle for around 5 mins. This log pattern repeats. Problem: the pod is being…
bosari
  • 1,922
  • 1
  • 19
  • 38
0
votes
0 answers

Readiness probe failure for Postgres because of "root"

I am trying to execute the very standard SELECT 1 command as a readiness probe command. I've been through numerous posts on Postgres, root user and Kubernetes but I still can't get it right although this might be trivial. I defined ENV variables…
NevD
  • 265
  • 2
  • 10
0
votes
2 answers

Kubernetes readiness probe failed

We are trying to deploy PingFed in a Kubernetes cluster. We have files deployment.yml and service.yml, but the pod is throwing CrashBackLoop error after trying to reach the server profile with a readiness probe error. We have tried everything with…
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…
0
votes
1 answer

Kubernetes: How to write livenessprobe and readinessprobe with Exec having pipe

I am adding liveness probe and readiness probe using Exec probe. My config looks like this: readinessProbe: exec: command: "/usr/bin/jps -l | grep QueueProcess" periodSeconds: 10 failureThreshold: 2 successThreshold: 2 When…
kadamb
  • 1,532
  • 3
  • 29
  • 55
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

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…
0
votes
1 answer

Differences between istio outlier detection and readiness probe

I’m a newbie to istio and k8s, recently I’ve been exploring istio outlier detection and I’m kinda confused for couple of things.Please correct me if I’m wrong: 1.Outlier detections are based on pods and readiness probes based on containers? But…
Ray Gao
  • 61
  • 3
0
votes
1 answer

how to quickly fail the Kubernetes Readiness probe?

Incase a pod goes down in my cluster, it takes around 15secs or more to determine the failure by readiness probe logic, which is not accepted because of call failure (since kubernetes is not identified the pod failure so it will send the traffic to…
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

How to check the readiness probes on Services Bus?

I have an ASP.NET Core 3.1 application running on a docker container in kubernetes. It consists of two services which send data from the one to the other via Azure Service Bus. Hot to check on the Service Bus a readiness probe? I Was trying to find…
canvee
  • 361
  • 4
  • 12
0
votes
0 answers

Is it possible for a readiness probe failure can mark the pod as unhealthy?

One of our application service pods is getting restarted and the Last cause specified is "Error" due to 143 error code. There are no errors shown in the last hundred lines of the previous container logs. The only error reference is the Readiness…
ramfree17
  • 79
  • 2
  • 8
0
votes
2 answers

I am using 8888 for kubernetes health probes and 8887 for normal HTTP requests. So if readiness probe fails, should i still expect traffic on 8887?

I am using 8888 for liveness & readiness probes, 8887 for normal HTTP requests, readiness probe is failing and pods are in 0/1, not ready state. ButI still see normal POST requests being served by the pod. Is this expected. should health probes and…