Questions tagged [kubernetes-health-check]

215 questions
0
votes
1 answer

An alternative to Consul service TTL health check in Kubernetes

Consul has a TTL health check which status should be updated periodically over the HTTP interface. From akka.net microservices we were performing the GET request to the registered Consul Service endpoints to reset the TTL timer and staying life at…
0
votes
1 answer

Is there an API call that can be used to check the health of the Here API?

I'm integrating the usage of the Here API in a service that I'm creating which is hosted on a kubernetes cluster. I typically have health checks for my services. For example, checking if a database is up and running. Is there any API call for the…
Issa Fram
  • 2,556
  • 7
  • 33
  • 63
0
votes
1 answer

Kubernetes TCP Health Check

I am building .NET core Console microservice and it has been suggested by Architect to use TCP Health Check instead of HTTP Health Check. Hence in order to implement TCP health Check, please find the below configuration that I have added in the OCP…
0
votes
1 answer

How to signal "bad" but not "fatal" health check from spring boot to Kubernetes?

What we're looking for is a way for an actuator health check to signal some intention like "I am limping but not dead. If there are X number of other pods claiming to be healthy, then you should restart me, otherwise, let me limp." We have a rest…
Brian Deacon
  • 21,384
  • 13
  • 39
  • 41
0
votes
1 answer

Google cloud kubernetes load balancer, health check on the backend isn't working

I am duplicating a Kubernetes cluster containing divolte from one GCP (Google Cloud Platform) project to another. I have the exact same configurations in the already running project as the target project. In my new project I don't get load balancer…
0
votes
1 answer

Health check is getting failed in https but not in http

Previously i set up load balancer and health check for http protocol and it got set up with no erro. Actually i was setting up load balancer for google cloud cdn. After this google cdn was not working so someone said it must be https so i edited…
0
votes
1 answer

How do I use the Ruby gRPC health check library

I need to implement gRPC health check so I can use my gRPC API in Kubernetes. I've worked out that I need to put the health checking proto file in my server, and implement it. It looks like there's a library that already implements it for Ruby, but…
Toby 1 Kenobi
  • 4,717
  • 2
  • 29
  • 43
0
votes
1 answer

How to leverage Kubernetes readinessProbe to self heal the pod without restarting it?

According to this documentation, I see that readinessProbe can be used to temporarily halt requests to a pod without having to restart it in order to recover…
0
votes
0 answers

Kubernetes - logging broken pod's name and namespace to a file

Is there a way Kubernetes provides to store the name/namespace or metadata of a broken pod or pods running in a cluster in the exact format I would want i.e. pod-name/deployment-name/namespace
Avi
  • 1,453
  • 4
  • 18
  • 43
0
votes
2 answers

kubernetes replicas in a daemonset

I've got logstash running within 5 pods. I cannot get the command to change the number of pods to 2 to work: kuberctl scale --replicas=2 daemonset/logstash -n logstash I have tried variations of it but still no joy. Could someone tell or point me…
mac
  • 1,479
  • 3
  • 11
  • 21
0
votes
1 answer

Kubernetes probe without blocking requests to POD on failure

Given: My application (call it root) is considered 'ready' when certain number of other PODs connects to it. I would like to rely on the fact the root application is 'ready' because transition from POD creation to 'readiness' takes considerable…
lakier
  • 550
  • 4
  • 16
0
votes
2 answers

cant create file for livenessProbe and redinessProbe

hy folks I'm currently trying to set up the livenessProbe and readinessProbe. After starting the container I ask to create an empty file touch /tmp/healthy. However i don't know why it can't create it. I looked at the kubernet site and examples on…
morla
  • 675
  • 4
  • 15
  • 32
0
votes
0 answers

How to deploy a nodejs app using kubernetes and mongodb

I'm trying to deploy an application built using nodejs and mongodb. I have mongodb on different VM and I have added the urls for the mongodb servers as a secret in the kubernetes cluster. I have an env variable for the mongodb secret and MONGODB_URL…
ILoveCode
  • 235
  • 2
  • 3
  • 11
0
votes
1 answer

Kubernetes health check outside container

Can I do liveness or readiness kind of health check from out of the container. I mean, can I stop traffic to pods and restart containers in case application is not accessible.
Subit Das
  • 509
  • 3
  • 6
  • 14
0
votes
1 answer

Where are these kubernetes healthchecks coming from?

So I have deployments exposed behing a GCE ingress. On the deployment, implemented a simple readinessProbe on a working path, as follows : readinessProbe: failureThreshold: 3 httpGet: path:…