Questions tagged [kubernetes-health-check]

215 questions
4
votes
1 answer

Kubernetes liveness probe fails when the logs show a 200 response

I am using https://pypi.org/project/django-health-check/ for my health checks in a Django app run through kubernetes_wsgi with the following YAML: livenessProbe: httpGet: path: /ht/ port: 8020 …
Akasha
  • 2,162
  • 1
  • 29
  • 47
4
votes
1 answer

OpenFaaS : Receiving Timeout errors during health check of function Pod

Issue: We have added health check configuration to our function. However pod becomes Unhealthy due to timeout error in liveness and readiness checks and consequently getting restarted. However if I hit same health check url using CURL or browser it…
Sandeep
  • 71
  • 1
  • 1
  • 3
4
votes
2 answers

What are the best practices for a health check API and probes in micro-services Kubernetes environment?

We are developing tons of micro-services. They all run in Kubernetes. As ops, I need to define probes for each micro-service. So we will create a health check API for each micro-service. What are the best practices for this API? What are the best…
4
votes
3 answers

Asp.NET Core HealthChecksUI - empty

I want to configure healthcheckers to work with HealthChecksUI. But the HealthChecksUI page display a empty list of configured HealthChecks. Here is code from ConfigureServices Method: services.AddHealthChecksUI(); …
Sergiu
  • 297
  • 3
  • 16
4
votes
3 answers

Multiple liveness probes in kuberenetes

I have a program which has multiple independent1 components. It is trivial to add a liveness probe in all of the components, however it's not easy to have a single liveness probe which would determine the health of all of the program's components.…
styrofoam fly
  • 578
  • 2
  • 9
  • 25
4
votes
3 answers

How to use K8S node_problem_detector?

Question node-problem-detector is mentioned in Monitor Node Health documentation if K8S. How do we use it if it is not in GCE? Does it feed information to Dashboard or provide API metrics?
mon
  • 18,789
  • 22
  • 112
  • 205
4
votes
0 answers

Kubernetes split-brain / HA across AZ

The Kubernetes HA documentation shows that you can ensure availability in the case of the failure of an apiserver by having multiple instances behind a load balancer. However, it doesn't cover what happens if the Kubernetes is deployed across…
John
  • 10,837
  • 17
  • 78
  • 141
4
votes
1 answer

How fix this error "watch chan error: etcdserver: mvcc: required revision has been compacted"?

I have a kubernetes cluster with two nodes, and two nodes for etcd,also I am using authentication for my kubernetes. When I run this command: kubectl get cs I get this output: NAME STATUS MESSAGE …
Ladan Nekuii
  • 185
  • 1
  • 6
  • 18
4
votes
1 answer

Ingress reports unhealthy backend

I'm using GCE with Kubernetes to host my rails app but the ingress reports the pod as UNHEALTHY. Below is my setup Ingress: spec: backend: serviceName: my-service servicePort: 80 Service: spec: type: NodePort selector: app:…
3
votes
2 answers

NEG is not attached to any BackendService with health checking

I have a downtime on my app running on GKE when I deploy it using rolling update. rollingUpdate: maxSurge: 25% maxUnavailable: 0 type: RollingUpdate I've checked the events on my pod and the last event is this one: NEG is not…
3
votes
1 answer

Configuring the Health Check of a Kubernetes Ingress with Terraform

We are using an ingress (kubernetes_ingress.db_admin_ingress) to expose the service (kubernetes_service.db_admin) of a deployment (kubernetes_deployment.db_admin) in Google Kubernetes Engine (GKE) with Terraform. When Terraform creates the ingress,…
3
votes
1 answer

Kubernetes Node healthcheck

I am trying to understand the Node-Controller in Kubernetes. Kubernetes documentation mentions that node heartbeats are done using NodeStatus and LeaseObject updates. Someone, please explain why both mechanisms are needed for monitoring node…
Kiran
  • 499
  • 2
  • 6
  • 17
3
votes
2 answers

what is the command to check zookeeper health check for liveness , readiness probes and to start , stop the zookeeper

i have tried the following commands to check the zookeeper health and its corresponding error i am getting sh -c zookeeper-ready 2181 (error: zookeeper-ready command not found) i have tried all echo commands (error: it is not a…
3
votes
0 answers

How to add endpoints in dropwizard like /healthcheck

we can add healthcheck like environment.healthChecks().register( CheckpointConstant.CACHE, new CacheHealthCheck(adminConfiguration.getAppName()) ); but these are all in the '/healthcheck' interface. how to add endpoints in port 8081, like…
lethean
  • 31
  • 6
3
votes
3 answers

How do I implement .NET Core Health Checks on a Hosted Service?

The question is just as asked on the title. It is simple to perform a check for the database operations, queries, commands and event store but I am clueless as to how/what is the best way to perform a health check on a hostedservice. Could anyone…
Nicholas
  • 1,883
  • 21
  • 39