126 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
60
views
GKE reports StatefulSet specified does not have a readiness probe but spec does contain it
GKE is reporting the alert "PDB_STATEFULSET_WITHOUT_PROBES" (https://cloud.google.com/kubernetes-engine/docs/how-to/workload-disruption-readiness) but the statefulsets it references do have ...
0
votes
1
answer
614
views
How to properly verify `pg_isready`
Using PG 17.
In case running PG instance under recovery flow (with recover.signal in PGDATA) pg_isready is actually signals the instance is not ready yet but not until the actual database is ready to ...
0
votes
1
answer
94
views
Why is my nginx+php pod accepting traffic too soon?
I have a multi-container pod that houses an nginx container and a php-fpm container. they communicate over a file sock.
Years ago I learned that each container could isolate its own readiness, and ...
1
vote
1
answer
90
views
Python Flask-Healthz should I use Blueprint, Flask configuration and/or Entension?
It's unclear and confusing to me whether Blueprint and Flask configration is required if I use the extension Healthz(app)!?! The confusion comes from the README line:
The rest of the configuration is ...
0
votes
1
answer
214
views
Using /actuator/health when Spring application is deployed on k8s?
I wonder what the drawbacks of the Spring Boot application are that it has a /health actuator endpoint defined as liveness and readiness probes.
Are there any issues related to graceful shutdown or ...
0
votes
2
answers
197
views
Can I use pod readiness as rate limit?
So, my service is a long run api service.
Each container can only servce 4 request at the same time.
If the 5th request comes in, the service may starts to response very slow.
So I want to use a proxy ...
0
votes
1
answer
988
views
Why does my Kubernetes pod enter a CrashLoopBackOff state when using Liveness and Readiness Probes together?
I'm new to Kubernetes (K8S) and trying to learn how to achieve zero downtime during deployments. I have two services: currency-exchange and currency-conversion, where currency-conversion depends on ...
1
vote
1
answer
636
views
In kubernetes, can I have liveness probes but no readiness probes?
Trying to figure out if my pods sometimes restart is it because of the absence of readiness probes when liveness probes is enabled.
My pods sometimes restarting and thats not good. but Havent found on ...
1
vote
2
answers
2k
views
Prometheus Alert for pod with failed readinessProbe
i deployed a new kube deployment, with an updated image version. however, the new pods container failed its readiness probe and i did not receive an alert. this is because the pod was still "...
0
votes
2
answers
969
views
"Readiness probe failed: HTTP probe failed with statuscode: 503" at NGINX Insgress Controller pod in Kubernetes cluster
I wanted to expose a web application using NGINX Ingress Controller.
$ kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2
NGINX ...
1
vote
0
answers
999
views
Custom path for "/actuator/health/liveness" and "/actuator/health/readiness" endpoints
I'm using spring-boot-starter-actuator in my Java Spring Boot application and I would like to customize some default endpoint paths provided by Actuator. For instance, I've been able to map "/...
1
vote
0
answers
331
views
Spring Boot, deferring Readiness.ACCEPTING_TRAFFIC event?
How can I defer or change the initial value of Spring Boot's AvailabilityChangeEvent<Readiness> state?
I have an application that acts as a worker (in our case it is polling messages from an ...
0
votes
0
answers
120
views
@Readiness and @Liveness annotations on methods using CDI does not work
I am trying to add Liveness and Readiness probes in my java service. I want to use the CDI method of annotating individual methods rather than having the class annotation and then calling multiple ...
0
votes
1
answer
223
views
How to implement multiple handlers in readinessprobe
We have a requirement to have both http and exec in a single readiness probe.
Check 1: Launch a particular URL and check if we get a success response
Check 2: Execute a UNIX script/code to check some ...
1
vote
0
answers
186
views
Is there a way to define liveness probe API in Spring in a different port than the main one, while keeping the readiness probe in the default port?
We are in the process of adding readiness/liveness probes to our backend servers.
We are using Spring & Actuator and want to implement it using the actuator built in implementation.
We noticed ...