Questions tagged [readinessprobe]
114 questions
0
votes
0 answers
Exposing pod at different times to multiple external services
How can I expose a pod's endpoints to two external kubernetes services (i.e. load balancer) in two phases? It's important that the first service have access to the pod's endpoints before the second service does. The first service is required to…

oakterm
- 1
- 1
0
votes
0 answers
How to implement axon server connection check to readiness probe
I need to implement readiness and liveness probes for every microservice in my project.
In my readiness probe I need to check if our springboot application is connected to axon server.
How can I manually test if axon server is connected?
I was…

David89
- 31
- 3
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
…

Kok How Teh
- 3,298
- 6
- 47
- 85
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
How to configure readiness/shutdown in Embedded Hazelcast in Spring app running in Kubernetes (OpenShift)
I'm working on a system that is using Embedded hazelcast in Spring apps running on Kubernetes (OpenShift) and I'm wondering how to properly configure things so things work with scaling up/down, restart of pods etc. I realize I should be using the…

mv123
- 21
- 1
0
votes
0 answers
Breaking a kubernetes pod circular readiness dependency
Suppose I have two deployments, D_a and D_b and they each have a replica of 1. Ideally this would get me two running pods P_a and P_b.
Now suppose both P_a and P_b contain gRPC services which periodically ping each other to establish their…

Lucat
- 2,242
- 1
- 30
- 41
0
votes
1 answer
Camunda Keyclock Readiness Probe Failed: Failed to connect to localhost port 8080: Connection refused
the readiness probe on my camunda-keycloak pod is failing and when I tried to curl the url from inside the pod, connection is getting refused. Can someone help?
After exec into camunda-keycloak pod:
curl…

Satyam Bhatia
- 166
- 6
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
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
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
0 answers
Elasticsearch pods failing at readiness probe
Elasticsearch pod is not becoming active.
logging-es-data-master-ilmz5zyt-3-deploy 1/1 Running 0 5m
logging-es-data-master-ilmz5zyt-3-qxkml 1/2 Running 0 5m
and events are.
Events:
Type Reason Age …
0
votes
1 answer
When should I use commands or args in readinessProbes
I am working my way through killer.sh.for the CKAD. I encountered a pod definition file that has a command field under the readiness probe and the container executes another command but uses args.
apiVersion: v1
kind: Pod
metadata:
…

TeeTee
- 99
- 7
0
votes
1 answer
What happens when kubernetes readiness-probe return false? How long to wait?
What happens when Kubernetes readiness-probe returns false? Does Kubernetes restart that pod after timeout? How long Kubernetes waits for readiness?

J.J. Beam
- 2,612
- 2
- 26
- 55
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