Questions tagged [kubernetes-health-check]
215 questions
0
votes
2 answers
Temporarily disable kubernetes liveness probes for a pod
I have a NodeJS app running inside a k8s pod and I want to take a heap dump of it.
In NodeJS taking a heap dump is time-consuming and blocks the main thread, so the pod is not able to respond to k8s liveness probes and is occasionally SIGKILLed.
Is…

star67
- 1,505
- 7
- 16
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
1 answer
how can I schedule Healthcheck in Kubernetes livenessProbe
since we need to stop a service in the kubernetes pot at night because we need to index something in our app(we also can't stop the pod because we need to index somethin in the pod.). While Index HealthEndpoint is unreachable, Prometheus warns that…

Oscar
- 5
- 7
0
votes
1 answer
How kubernetes handles unhealthy coredns pod?
The below snippet is taken from default Corefile of coredns.
data:
Corefile: |
.:53 {
errors
health {
lameduck 5s
}
ready
In this snippet, health plugin is used to report health status to…

anonymous user
- 257
- 5
- 23
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
How to simulate asp.net web API app to a deadlock or hung state?
I have an asp.net core 3.1 web api app. Can I write an end point by which if I call this the entire application will go into hung or deadlock situation? or a background task where I wrote some code to make this happen?
I am trying to test Kubernetes…

user584018
- 10,186
- 15
- 74
- 160
0
votes
0 answers
Delay application startup till sidecar (hashicorp Vault) is up in Kubernetes Pods
I am looking for a way where we can start the (NodeJs) app server (i.e. delay it) only after vault agent is up. One way I can think, is to check the availability of the agent (by connecting to 8200) in the readiness probe so that the app server…

Neil
- 5,919
- 15
- 58
- 85
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
Python3 Quart register_blueprint of python-healthz throws exception
I use flask and trying to migrate to quart in order to benefit from HTTP/2. I use flask-healthz for kubernetes readiness and liveness health checks. Is there any quart equivalent of flask-healthz?
I am not sure it would work but trying to…

Kok How Teh
- 3,298
- 6
- 47
- 85
0
votes
1 answer
how implement health check in the grpc-dart implementation?
I am trying to add grpc health check to my dart backend, but it seems that the grpc implementation in dart does not bring the service for the kubernetes health check, as in other grpc implementations, as is the case of java…

Daniel Armas
- 13
- 3
0
votes
1 answer
How to avoid starting kubernetes pod liveness checks until all containers are running
I'm having trouble with health checks starting too early on a kubernetes pod with multiple containers. My pod is set up like this:
main-container (nodejs)
sidecar container (http proxy)
Currently the health checks are configured on the sidecar…

bsmedberg
- 177
- 2
- 8
0
votes
2 answers
Are healthchecks defined per container or per pod in Kubernetes?
In Google Cloud blog they say that if Readiness probe fails, then traffic will not be routed to a pod. And if Liveliness probe fails, a pod will be restarted.
Kubernetes docs they say that the kubelet uses Liveness probes to know if a container…

kamokoba
- 497
- 9
- 17
0
votes
1 answer
spring-boot RabbitHealthIndicator returns healthy on shutdown rabbitmq connections
We are using the default spring boot health checks - also for monitoring rabbitmq.
Unfortunately this doesn't work reliable. For example we have this in the log file:
2021-02-16 06:49:30.142 [AMQP Connection 10.160.98.21:5672] ERROR…

BMaehr
- 41
- 5
0
votes
1 answer
GKE ignores readiness probe from pod during high load
I have an app running in kubernetes, on a couple of pods. I'm trying to improve our deployment experience (we're using rolling deployment), which is currently causing pains.
What I want to achieve:
each pod first goes not ready, so it gets no more…

Peter Lind
- 37
- 7
0
votes
1 answer
Cassandra health check in phantom
In our containerised scala application , we are using phantom library for persisting and retrieving data from Cassandra. We have a requirement to do regular health check on Cassandra.
Presently, on bootstrap of application when there is a deployment…

ApprenticeWST
- 117
- 1
- 7